private void OnPreSceneGUICallback(SceneView sceneView) { if (Event.current.type == EventType.Repaint) { this.UpdatePreviewBrush(); } }