//---- public static SceneManager GetInstance() { if(m_Instance == null) { m_Instance = new SceneManager(); } return m_Instance; }
private void SceneManager_SceneRemoved(SceneManager sender, SceneEventArgs e) { if (e.Scene is Yugioh_AtemReturns.Scenes.MenuScene) EffectManager.GetInstance().Stop(eSoundId.m_menu); if (e.Scene is Yugioh_AtemReturns.Scenes.PlayScene) EffectManager.GetInstance().Stop(eSoundId.m_duel1); }