UnityEditor.AnimationWindow.OnEnable C# (CSharp) Method

OnEnable() public method

public OnEnable ( ) : void
return void
        public void OnEnable()
        {
            if (this.m_AnimEditor == null)
            {
                this.m_AnimEditor = ScriptableObject.CreateInstance(typeof(AnimEditor)) as AnimEditor;
                this.m_AnimEditor.hideFlags = HideFlags.HideAndDontSave;
            }
            s_AnimationWindows.Add(this);
            base.titleContent = base.GetLocalizedTitleContent();
        }