private void Start() { desktopUI = this.GetComponent <DesktopUI>(); desktopUI.OnXplorerPress += this.showXplorer; setButtonListeners(); showXplorer(false); }
private void Start() { input = FindObjectOfType <InputBehaviour>(); myPlayerData = FindObjectOfType <PlayerData>(); myPlayerTriggerCollision = FindObjectOfType <PlayerTriggerCollision>(); myComputerUI = FindObjectOfType <DesktopUI>(); StartCoroutine(myUpdate(.5f)); }
private void setReferences() { desktopUI = this.GetComponent <DesktopUI>(); terminalInput = this.GetComponent <FetchTerminalInput>(); }