private void OnBecameInvisible() { this.m_IsVisible = false; this.Clear(); SceneView.RepaintAll(); InspectorWindow.RepaintAllInspectors(); }