Exemple #1
0
 private void disableEvents()
 {
     this.RemoveAllListeners(EventName.BallsDiedEvent);
     this.RemoveAllListeners(EventName.SubtractBallsEvent);
     IntEventManager.RemoveInvoker(EventName.BallsDiedEvent, this);
     IntEventManager.RemoveInvoker(EventName.SubtractBallsEvent, this);
 }
Exemple #2
0
 private void OnBecameInvisible()
 {
     intUnityEvents[EventName.BlockDestroyed].Invoke(1);
     IntEventManager.RemoveInvoker(EventName.PointsAdded, this);
 }