// Update is called once per frame void Update() { if (Input.GetKeyDown(KeyCode.Escape)) { ManuManager.GotoMenu(); } }
private void Awake() { Instance = this; hostMenu.SetActive(false); connectMenu.SetActive(false); DontDestroyOnLoad(gameObject); }
public TitleScreen() { menuManager = new ManuManager(); }
// Use this for initialization void Start() { _instance = this; // Listen to image picker event so we can load the image into a texture later EtceteraManager.imagePickerChoseImageEvent += imagePickerChoseImage; }