VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
IEnumerator AVR.Core.AVR_TrialExperiment.experiment ( int  trial_amount)
inlineprivate

Definition at line 59 of file AVR_TrialExperiment.cs.

59  {
60  on_start();
61 
62  for(int i=0; i<trial_amount; i++) {
64  yield return StartCoroutine(this.trial());
65  on_end_trial();
66  }
67 
68  on_end();
69  }
virtual void on_start_trial()
Function that gets called when a trial starts
abstract IEnumerator trial()
IEnumerator-coroutine that represents a single tiral
virtual void on_end_trial()
Function that gets called when a trial ends
virtual void on_start()
Function that gets called when the experiment starts
virtual void on_end()
Function that gets called when the experiment ends