static void RunEditorUpdate() { if (!RealtimeCSG.CSGSettings.EnableRealtimeCSG) { return; } if (EditorApplication.isPlayingOrWillChangePlaymode) { return; } UpdateLoop.UpdateOnSceneChange(); try { if (!ColorSettings.isInitialized) { ColorSettings.Update(); } InternalCSGModelManager.CheckForChanges(forceHierarchyUpdate: false); TooltipUtility.CleanCache(); } catch (Exception ex) { Debug.LogException(ex); } }
static void RunEditorUpdate() { if (!RealtimeCSG.CSGSettings.EnableRealtimeCSG) { return; } UpdateOnSceneChange(); if (EditorApplication.isPlayingOrWillChangePlaymode) { return; } try { InternalCSGModelManager.Refresh(forceHierarchyUpdate: false); TooltipUtility.CleanCache(); } catch (Exception ex) { Debug.LogException(ex); } }