public void OnDisable() { if (this.m_PreviewUtility != null) { this.m_PreviewUtility.Cleanup(); this.m_PreviewUtility = null; } }
protected virtual void OnDisable() { RestoreLastTextureMipLevels(); m_CubemapPreview.OnDisable(); }