void Awake() { dataController = GameObject.Find("ThinkGearDataController").GetComponent <ThinkGearDataController>(); dataController.PoorSignalEvent += OnPoorSignal; dataController.MentalEffortEvent += OnMentalEffortReceived; dataController.TaskFamiliarityEvent += OnTaskFamiliarityReceived; }
void Awake() { dataController = GameObject.Find("ThinkGearDataController").GetComponent <ThinkGearDataController>(); dataController.PoorSignalEvent += OnPoorSignal; slider = GetComponent <UISlider>(); }
void Awake() { dataController = GameObject.Find("ThinkGearDataController").GetComponent <ThinkGearDataController>(); dataController.PoorSignalEvent += OnPoorSignal; fittingIcon.SetActive(false); connectedIcon.SetActive(false); disconnectedIcon.SetActive(true); }
void Awake() { dataController = GameObject.Find("ThinkGearDataController").GetComponent <ThinkGearDataController>(); dataController.MentalEffortEvent += OnMentalEffortReceived; //dataController.MentalEffortChangeEvent += OnMentalEffortChangeReceived; dataController.TaskFamiliarityEvent += OnTaskFamiliarityReceived; //dataController.TaskFamiliarityChangeEvent += OnTaskFamiliarityChangeReceived; destroyPlayer = GameObject.FindGameObjectWithTag("destroyer").GetComponent <EndDestroyPlayer>(); destroyPlayer.FinishLevelEvent += OnDestroyPlayer; }