示例#1
0
        void Awake()
        {
            bool isState = AmbitionApp.IsActiveState(TutorialStep);

            this.gameObject.SetActive(isState);
            if (!isState)
            {
                AmbitionApp.Subscribe <string>(TutorialMessage.TUTORIAL_STEP, HandleTutorialStep);
            }
            AmbitionApp.Subscribe <string>(TutorialMessage.TUTORIAL_STEP_COMPLETE, HandleTutorialStepComplete);
        }