Exemple #1
0
 protected virtual void Start()
 {
     SetColor();
     //Become invoker to add points
     EventsManager.AddPointsInvoker(addPointsEvent);
     //Become invoker to block destroyed
     EventsManager.AddBlockDestroyedInvoker(blockDestroyed);
 }
 protected virtual void Start()
 {
     EventsManager.AddPointsInvoker(this);
     EventsManager.AddBlocksInvoker(this);
 }