// Use this for initialization void Start() { player = GameObject.FindGameObjectWithTag("Player"); eyeData = player.GetComponent <EyeTrackerData>(); getDataFromScripts(); eyeData.OnClueStatus += setClueStatus; }
// Use this for initialization void Start() { eyetrackerScript = GameObject.FindGameObjectWithTag("Player").GetComponent <EyeTrackerData>(); compass = GameObject.FindGameObjectWithTag("Compass"); if (compass != null) { compassScript = compass.GetComponent <Compass>(); } }