Ejemplo n.º 1
0
 //runs first trial
 void OnEnable()
 {
     if (!(this.GetComponent <input_manager>().listening))
     {
         return;
     }
     if (!(input_manager.practice) || rg == null)
     {
         rg = new random_gen();
         t  = rg.gen_pos();
     }
     ij.Invoke(t.L, t.R);
 }
Ejemplo n.º 2
0
 public void ClearGens()
 {
     rg = null;
 }