public void Back() { if (FindObjectOfType <MusicManager>()) { FindObjectOfType <MusicManager>().GetComponent <AudioSource>().Stop(); } SceneManagementUtil.Load(SceneManagementUtil.Scenes.Izometrik); }
public void Back() { if (FindObjectOfType <MusicManager>()) { FindObjectOfType <MusicManager>().GetComponent <AudioSource>().Play(); } if (FindObjectOfType <DesertMusicManager>()) { FindObjectOfType <DesertMusicManager>().GetComponent <AudioSource>().Play(); } SceneManagementUtil.Load(SceneManagementUtil.Scenes.AnaEkran); }
public void Back() { SceneManagementUtil.Load(SceneManagementUtil.Scenes.AnaEkran); }
public IEnumerator LoadMainMenu() { yield return(new WaitUntil(() => _ready)); SceneManagementUtil.Load(SceneManagementUtil.Scenes.Izometrik); }
public void GoScene() { SceneManagementUtil.Load(_targetScene); }
private void Enter() { SceneManagementUtil.Load(SceneManagementUtil.Scenes.AnaEkran); }
public void Load(SceneManagementUtil.Scenes scene) { SceneManagementUtil.Load(scene); }