Exemplo n.º 1
0
        public void BeginRecording()
        {
            m_firstFrame = true;
            m_prevFrame  = -1;

            m_recorder.targetBranch = gameObject;
            m_recorder.BeginRecording();
        }
        void BeginRecording()
        {
            m_firstFrame = true;
            m_prevFrame  = -1;

            if (m_recorder.BeginRecording())
            {
                var settings = m_recorder.settings;
                if (settings.conf.timeSamplingType == aeTimeSamplingType.Uniform && settings.fixDeltaTime)
                {
                    Time.maximumDeltaTime = (1.0f / settings.conf.frameRate);
                }
            }
        }