public override void OnPreviewSettings()
{
if (this.ValidPreviewSetup())
{
this.m_CubemapEditor.mipLevel = this.m_MipLevelPreview;
EditorGUI.BeginChangeCheck();
this.m_CubemapEditor.OnPreviewSettings();
if (EditorGUI.EndChangeCheck())
{
EditorApplication.SetSceneRepaintDirty();
this.m_MipLevelPreview = this.m_CubemapEditor.mipLevel;
}
}
}