Esempio n. 1
0
    void EndAndPrepare()
    {
        Debug.Log("Ending trial");
        session.CurrentTrial.End();

        if (session.CurrentTrial == session.LastTrial)
        {
            session.End();
        }
        else
        {
            session.BeginNextTrial();
        }
    }
    void EndAndPrepare()
    {
        Debug.Log("Ending trial");
        session.currentTrial.End();

        if (session.currentTrial == session.lastTrial)
        {
#if UNITY_EDITOR
            UnityEditor.EditorApplication.isPlaying = false;
#else
            Application.Quit();
#endif
        }
        else
        {
            session.BeginNextTrial();
        }
    }
Esempio n. 3
0
 void StartRecording()
 {
     session.BeginNextTrial();
     //Invoke("EndAndPrepare",15);
 }