private void CleanupCustomSceneLighting() { if (!this.m_SceneLighting && (Event.current.type == EventType.Repaint)) { InternalEditorUtility.RemoveCustomLighting(); } }