Beispiel #1
0
 private void Awake()
 {
     ServiceManager.Register(this, GetComponent <UIManager>());
     GameEventsManager.Register(GameEventConstants.ON_RETURN_TO_MENU, SetupMenuUI);
 }
Beispiel #2
0
 private void Awake()
 {
     ServiceManager.Register(this, GetComponent <MagicCubeLogic>());
     GameEventsManager.Register(GameEventConstants.ON_SHUFFLE_COMPLETE, SwitchToPlayState);
     GameEventsManager.Register(GameEventConstants.ON_RETURN_TO_MENU, ResetLogic);
 }