public void FinalizeRecording(TimelineWindow.TimelineState state) { for (int num = 0; num != this.m_ProcessedClips.Count; num++) { AnimationTrackRecorder.ProcessTemporaryKeys(this.m_ProcessedClips[num]); } this.m_RefreshState |= this.m_TracksToProcess.Any <TrackAsset>(); this.m_TracksToProcess.Clear(); if (this.m_ProcessedClips.Count > 0 || this.m_RefreshState) { state.GetWindow().RebuildGraphIfNecessary(false); } state.RebindAnimators(this.m_RebindList); if (this.m_ProcessedClips.Count > 0 || this.m_RefreshState) { state.EvaluateImmediate(); } }