示例#1
0
    public override void StartState()
    {
        base.StartState();
        Owner.SetActivePanelScene(this.name);

        //sound
        SoundMgr.GetInstance().StopSound();
        SoundMgr.GetInstance().PlaySoundOneShot(menuAudio);
    }
示例#2
0
 void Start()
 {
     FrameMgr.GetInstance();
     TimerMgr.GetInstance();
     PathMgr.GetInstance();
     ConfigMgr.GetInstance();
     AssetMgr.GetInstance();
     UIMgr.GetInstance();
     SoundMgr.GetInstance();
     LoadSceneMgr.LoadSence("test");
 }
示例#3
0
    public override void StartState()
    {
        base.EndState();
        Owner.SetActivePanelScene(this.name);

        landObject.SetActive(true);
        mazeObject.SetActive(false);

        //sound
        SoundMgr.GetInstance().StopSound();
        SoundMgr.GetInstance().PlaySoundOneShot(ingameAudio);
    }