void Start() { GameObject obj = GameObject.FindGameObjectWithTag("MainCamera"); GameObject timerGazeGameObj = obj.transform.Find("TimerGaze").gameObject; GameObject timerGazeCanvas = timerGazeGameObj.transform.Find("TimerGazeCanvas").gameObject; GameObject progressbar = timerGazeCanvas.transform.Find("RadialProgressBar").gameObject; RadialProgressBar = progressbar.GetComponent <RPB> (); GazeLimit = GeoPosition.Instance.getGazeTimeLimit(); }