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