void Update() { FPS = 1.0f / Time.deltaTime; if (Input.GetButtonDown("CloseApp")) { Measurement.SaveAll(); Application.Quit(); } // UNCOMMENT FOR REPLAY FUNCTIONALITY if (Input.GetButtonDown("StartReplay")) { } // /*if (Input.GetKeyUp("space") && trialPrefix != null) * { * NextTrial(); * }*/ if (CurrentBlock != null && !IsLoading) { CurrentBlock.Update(Time.deltaTime); } }