// Use this for initialization void Start() { CameraRef = GameObject.Find("HUDCamera"); CarMoveRef = CameraRef.GetComponent <iTweenMove>(); flickManagerRef = this.GetComponent <FlickerManager>(); flickControlRef = GameObject.Find("InnerGreen").GetComponent <FlickerControl>(); pcObjectRef = GameObject.Find("PhotocellCue"); pcFlickerRef = pcObjectRef.GetComponent <FlickerPhotocell>(); trialSetupRef = this.GetComponent <TrialSetup>(); trialCueRef = this.GetComponent <TrialCue>(); trialSpawnRef = this.GetComponent <TrialSpawn>(); locationDataRef = this.GetComponent <LocationData>(); responseDataRef = this.GetComponent <ResponseData>(); }
void Start() { // Start new stream writer expPath = FileName(); Debug.Log(expPath); e_expManagerRef = this.GetComponent <TrialManager>(); redFlickRef = redFlickObject.GetComponent <FlickerControl>(); greenFlickRef = greenFlickObject.GetComponent <FlickerControl>(); // Write first line with data information string newLine = string.Format("{0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11},{12}", "Red Freq", "Green Freq", "Target Color", "Target Orientation", "Target 1", "Target 2", "Target 3", "Target 4", "Target 5", "Target 6", "Response", "Actual", "Correct"); csv.AppendLine(newLine); }
void Start() { m_FlickerControl = this.GetComponent <FlickerControl>(); m_FlickerControl.StartFlicker(); }