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