UnityEditor.EyeDropper.OnDestroy C# (CSharp) Method

OnDestroy() public method

public OnDestroy ( ) : void
return void
        public void OnDestroy()
        {
            if (this.m_Preview != null)
            {
                Object.DestroyImmediate(this.m_Preview);
            }
            if (!this.m_Focused)
            {
                this.SendEvent("EyeDropperCancelled", false);
            }
        }