Exemplo n.º 1
0
 static public void playCheckpoint(Transform target)
 {
     if (target == null)
     {
         target = globalTarget;
     }
     if (checkpoint != null)
     {
         checkpoint.playGlobal(target.position, globalTarget);
     }
 }
Exemplo n.º 2
0
 static public void playBreakCrackedBlock(Transform target)
 {
     if (target == null)
     {
         target = globalTarget;
     }
     if (crackedBlockBreak != null)
     {
         crackedBlockBreak.playGlobal(target.position, globalTarget);
     }
 }