void Start() { if (CrosshairController.Verbose) { Debug.Log("Crosshair is alive..."); } this.fixated = false; this.fixationDone = false; this.timeStamp = 0f; this.fixCrossRef = GameObject.FindWithTag("FixationCrossCenter"); this.colorSwitch = this.fixCrossRef.GetComponent <FixationCrossColorSwitch>(); this.active = true; }
void Start() { this.fixated = false; this.fixationDone = false; this.timeStamp = 0f; this.fixationLeft = GameObject.FindWithTag("FixationLeft"); this.fixationRight = GameObject.FindWithTag("FixationRight"); this.colorSwitchLeft = this.fixationLeft.GetComponent <FixationCrossColorSwitch>(); this.colorSwitchRight = this.fixationRight.GetComponent <FixationCrossColorSwitch>(); this.logic = GameObject.FindWithTag("GameLogic").GetComponent <GameLogic>(); this.active = true; }