private void Start() { Player = GameObject.FindGameObjectWithTag("Player"); HandInitCube = Player.transform.Find("FingerCubeReady").gameObject; HandObj = Player.transform.Find("Finger").gameObject; INIT = ExpInitializer.Instance; //Initializes, read, and verify INIT file. SYNCEXP = SyncExperiment.Instance; WRITER = new DataWriter(SYNCEXP.subjectNum, Player.name); EYES = VREyeTracker.Instance; GAZED = VRGazeTrail.Instance; HAND = HandObj.GetComponent <Hand>(); SYNCACT = HAND.transform.parent.GetComponent <SyncActors>(); //TurnOff(Blocks); TurnOff(FixationObject); TurnOff(HandInitCube); if (INIT.IsAvailable) { GetTrialListAndShuffle(); } _errorNumber = 0; _trialNumber = 1; _expPhase = 0; JointProceed = false; }
private void Awake() { INIT = ExpInitializer.Instance; }