UnityEditor.CubemapPreview.OnDisable C# (CSharp) Méthode

OnDisable() public méthode

public OnDisable ( ) : void
Résultat void
        public void OnDisable()
        {
            if (this.m_PreviewUtility != null)
            {
                this.m_PreviewUtility.Cleanup();
                this.m_PreviewUtility = null;
            }
        }

Usage Example

        protected virtual void OnDisable()
        {
            RestoreLastTextureMipLevels();

            m_CubemapPreview.OnDisable();
        }
All Usage Examples Of UnityEditor.CubemapPreview::OnDisable