void Awake() { if (!AmbitionApp.IsActiveMachine(TutorialConsts.TUTORIAL_MACHINE)) { Destroy(this); } }
void Awake() { if (TutorialPrefab != null && AmbitionApp.IsActiveMachine(TutorialConsts.TUTORIAL_MACHINE)) { Instantiate(TutorialPrefab, transform, false); } Destroy(this); }
void Awake() { if (!AmbitionApp.IsActiveMachine(TutorialConsts.TUTORIAL_MACHINE)) { Destroy(this); } else { AmbitionApp.Subscribe(PartyMessages.SHOW_ROOM, HandleTutorialRoom); } }
void Awake() { if (!AmbitionApp.IsActiveMachine(TutorialMachineID)) { Destroy(this); } else { gameObject.SetActive(false); AmbitionApp.Subscribe <string>(TutorialMessage.TUTORIAL_STEP, HandleStep); } }