Example #1
0
 protected override void OnEnter()
 {
     base.OnEnter();
     ListSoundLoop.Add(StartCoroutine(Sound()));
     ListSoundLoop.Add(StartCoroutine(SoundWave()));
     testMode1 = "목표물 : " + Gate1.name + " 미션 레벨 : " + igm.BetLevel;
     MissionSetting(new SetMissionObjectMsg(MissionModeGame.Gate_1));
     SensorSetting(new SensorSettingMsg());
     StartCoroutine(LoadingVideo());
 }
Example #2
0
        protected override void OnExit()
        {
            base.OnExit();

            foreach (var o in ListSoundLoop)
            {
                StopCoroutine(o);
            }

            ListSoundLoop.Clear();
            //RemoveMessage();
        }