Ejemplo n.º 1
0
 void Awake()
 {
     dataController = GameObject.Find("ThinkGearDataController").GetComponent <ThinkGearDataController>();
     dataController.PoorSignalEvent      += OnPoorSignal;
     dataController.MentalEffortEvent    += OnMentalEffortReceived;
     dataController.TaskFamiliarityEvent += OnTaskFamiliarityReceived;
 }
Ejemplo n.º 2
0
    void Awake()
    {
        dataController = GameObject.Find("ThinkGearDataController").GetComponent <ThinkGearDataController>();
        dataController.PoorSignalEvent += OnPoorSignal;

        slider = GetComponent <UISlider>();
    }
Ejemplo n.º 3
0
 void Awake()
 {
     dataController = GameObject.Find("ThinkGearDataController").GetComponent <ThinkGearDataController>();
     dataController.PoorSignalEvent += OnPoorSignal;
     fittingIcon.SetActive(false);
     connectedIcon.SetActive(false);
     disconnectedIcon.SetActive(true);
 }
Ejemplo n.º 4
0
    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;
    }