Exemplo n.º 1
0
    public override void StartState()
    {
        base.StartState();
        Owner.SetActivePanelScene(this.name);

        //sound
        SoundMgr.GetInstance().StopSound();
        SoundMgr.GetInstance().PlaySoundOneShot(menuAudio);
    }
Exemplo n.º 2
0
 void Start()
 {
     FrameMgr.GetInstance();
     TimerMgr.GetInstance();
     PathMgr.GetInstance();
     ConfigMgr.GetInstance();
     AssetMgr.GetInstance();
     UIMgr.GetInstance();
     SoundMgr.GetInstance();
     LoadSceneMgr.LoadSence("test");
 }
Exemplo n.º 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);
    }