コード例 #1
0
        /// <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();
        }
コード例 #2
0
 public SessionRecord(SessionConfugration config)
 {
     _configuration = config;
 }