Пример #1
0
 static public void playCheckpoint(Transform target)
 {
     if (target == null)
     {
         target = globalTarget;
     }
     if (checkpoint != null)
     {
         checkpoint.playGlobal(target.position, globalTarget);
     }
 }
Пример #2
0
 static public void playBreakCrackedBlock(Transform target)
 {
     if (target == null)
     {
         target = globalTarget;
     }
     if (crackedBlockBreak != null)
     {
         crackedBlockBreak.playGlobal(target.position, globalTarget);
     }
 }