public override void StartState() { base.StartState(); Owner.SetActivePanelScene(this.name); //sound SoundMgr.GetInstance().StopSound(); SoundMgr.GetInstance().PlaySoundOneShot(menuAudio); }
void Start() { FrameMgr.GetInstance(); TimerMgr.GetInstance(); PathMgr.GetInstance(); ConfigMgr.GetInstance(); AssetMgr.GetInstance(); UIMgr.GetInstance(); SoundMgr.GetInstance(); LoadSceneMgr.LoadSence("test"); }
public override void StartState() { base.EndState(); Owner.SetActivePanelScene(this.name); landObject.SetActive(true); mazeObject.SetActive(false); //sound SoundMgr.GetInstance().StopSound(); SoundMgr.GetInstance().PlaySoundOneShot(ingameAudio); }