Beispiel #1
0
 // Start is called before the first frame update
 void Start()
 {
     sm = studyManager.GetComponent <StudyManager>();
     subjectNameField = GameObject.Find("SubjectNameField").GetComponent <InputField>();
     itvc             = timerPanel.GetComponent <IntervalTimerViewController>();
     csp = startPanel.GetComponent <ControlStartPanel>();
     it  = intervalTimer.GetComponent <IntervalTimer>();
 }
Beispiel #2
0
 // Start is called before the first frame update
 void Start()
 {
     sm           = GameObject.Find("StudyManager").GetComponent <StudyManager>();
     excv         = userCursor.GetComponent <ExCursorMove>();
     exdc         = dummyCursor.GetComponent <ExDummyCreator>();
     jatv         = judgeAndTimeView.GetComponent <JudgeAndTimeViewer>();
     itvc         = timerPanel.GetComponent <IntervalTimerViewController>();
     timerView    = gameObject.GetComponent <Text>();
     ctp          = trialPanel.GetComponent <ControlTrialPanel>();
     intervalTime = sm.sessionIntervalTime;// interval is 3 seconds
 }
Beispiel #3
0
 // Start is called before the first frame update
 void Start()
 {
     sm   = studyManager.GetComponent <StudyManager>();
     jatv = judgeAndTimeView.GetComponent <JudgeAndTimeViewer>();
     itvc = timerPanel.GetComponent <IntervalTimerViewController>();
     it   = intervalTimer.GetComponent <IntervalTimer>();
     ctp  = trialPanel.GetComponent <ControlTrialPanel>();
     tv   = timerView.GetComponent <TimerView>();
     cx   = Screen.width / 2;
     cy   = Screen.height / 2;
 }