private IEnumerator Menu() { Uimanger.Instance.FadeOn(true); yield return(new WaitForSeconds(1f)); LoadManger.LoadScene(0); }
private IEnumerator LoadGame() { Uimanger.Instance.FadeOn(false); yield return(new WaitForSecondsRealtime(1f)); LoadManger.LoadScene(scenename); }