public void OnGUI() { Profiler.BeginSample("AnimationWindow.OnGUI"); titleContent = m_AnimEditor.state.recording ? m_RecordTitleContent : m_DefaultTitleContent; m_AnimEditor.OnAnimEditorGUI(this, position); Profiler.EndSample(); }
public void OnGUI() { if (m_AnimEditor == null) { return; } titleContent = m_AnimEditor.state.recording ? m_RecordTitleContent : m_DefaultTitleContent; m_AnimEditor.OnAnimEditorGUI(this, position); }