public void PlayGame() { Initiate.Fade("Game", loadToColor, 2.0f); AwakeUI.Awake(); //AwakeUI.Start(); //SceneManager.LoadScene("Game"); }
/// <summary> /// ///////////////////////////////////////////////////////////////////////////////// /// </summary> void Update() { // Quit Application if (Input.GetKeyDown(KeyCode.Escape)) { Application.Quit(); } // Load Scene Gameover if (HpManager.hp == 10) { Initiate.Fade("GameOver", Color.black, 2.0f); AwakeUI.Awake(); //Screen.SetResolution(640, 960, false); //SceneManager.LoadScene("GameOver"); } }
public void MainMenu() { Initiate.Fade("Menu", loadToColor, 2.0f); AwakeUI.Awake(); //AwakeUI.Start(); }