public void MultiPlayer() { CharacterStoredInfo.instance.singlePlayer = false; Invoke("SetCharSelectionActive", 0.5f); Canvas_Start.SetActive(false); Canvas_Options.SetActive(false); Canvas_CharacterSelection.SetActive(true); }
public void RestartMenus() { Canvas_Start.SetActive(false); Canvas_Options.SetActive(false); Canvas_HowToPlay.SetActive(false); Canvas_CharacterSelection.SetActive(false); SceneManager.LoadScene("MainMenu"); }
// Start is called before the first frame update void Start() { Canvas_Start.SetActive(true); Canvas_Options.SetActive(false); Canvas_HowToPlay.SetActive(false); Canvas_Credits.SetActive(false); Canvas_CharacterSelection.SetActive(false); CharacterStoredInfo.instance.night = 0; CharacterStoredInfo.instance.day = 0; }