// Update is called once per frame void Update() { if (Input.GetKeyDown(Glob.RightButton)) { GameInitializer.HardModeEnabled = true; FadeToBlack.DoFade(1, true, 1); //Application.LoadLevel(1); } else if (Input.GetKeyDown(Glob.LeftButton)) { GameInitializer.HardModeEnabled = false; FadeToBlack.DoFade(1, true, 1); //Application.LoadLevel(1); } }
public static void ResetGame() { FadeToBlack.DoFade(1, true, 0); }