Exemple #1
0
 public static void AddBallLostListener(UnityAction handler)
 {
     BallLostlistener = handler;
     if (BallLostinvoker != null)
     {
         BallLostinvoker.AddBallLostEventListener(BallLostlistener);
     }
 }
Exemple #2
0
 // Ball gone invisiable
 public static void AddBallLostInvoker(Ball script)
 {
     BallLostinvoker = script;
     if (BallLostlistener != null)
     {
         BallLostinvoker.AddBallLostEventListener(BallLostlistener);
     }
 }