/// <summary> /// Begin a framerate tracking session. /// </summary> public static void BeginSession(SessionConfugration config) { if (!AllowRecording) { return; } if (_currentSession != null) { Debug.LogError("FramerateRecord: Starting a session when another one is already active."); return; } _currentSession = new SessionRecord(config); _currentSession.BeginRecording(); PardonFrame(); }