Exemple #1
0
 public void Back()
 {
     if (FindObjectOfType <MusicManager>())
     {
         FindObjectOfType <MusicManager>().GetComponent <AudioSource>().Stop();
     }
     SceneManagementUtil.Load(SceneManagementUtil.Scenes.Izometrik);
 }
Exemple #2
0
 public void Back()
 {
     if (FindObjectOfType <MusicManager>())
     {
         FindObjectOfType <MusicManager>().GetComponent <AudioSource>().Play();
     }
     if (FindObjectOfType <DesertMusicManager>())
     {
         FindObjectOfType <DesertMusicManager>().GetComponent <AudioSource>().Play();
     }
     SceneManagementUtil.Load(SceneManagementUtil.Scenes.AnaEkran);
 }
Exemple #3
0
 public void Back()
 {
     SceneManagementUtil.Load(SceneManagementUtil.Scenes.AnaEkran);
 }
Exemple #4
0
    public IEnumerator LoadMainMenu()
    {
        yield return(new WaitUntil(() => _ready));

        SceneManagementUtil.Load(SceneManagementUtil.Scenes.Izometrik);
    }
Exemple #5
0
 public void GoScene()
 {
     SceneManagementUtil.Load(_targetScene);
 }
Exemple #6
0
 private void Enter()
 {
     SceneManagementUtil.Load(SceneManagementUtil.Scenes.AnaEkran);
 }
Exemple #7
0
 public void Load(SceneManagementUtil.Scenes scene)
 {
     SceneManagementUtil.Load(scene);
 }