Esempio n. 1
0
 public void BeginPreloadedEvent(GameObject loadToMe)
 {
     loadOnThis = loadToMe;
     if (CurrentTrial != null)
     {
         Debug.Log("Beginning Preloaded Trial: " + CurrentTrial.Name);
         CurrentTrial.Setup();
     }
 }
Esempio n. 2
0
 public void BeginEvent(Type t)
 {
     if (CurrentTrial != null)
     {
         CurrentTrial.Cleanup();
     }
     gameObject.AddComponent(t);
     Debug.Log("Beginning Trial: " + CurrentTrial.Name);
     CurrentTrial.Setup();
 }