private static void OnEditorApplicationUpdate()
 {
     if (EditorApplication.isPlayingOrWillChangePlaymode)
     {
         return;
     }
     ChiselNodeHierarchyManager.Update();
     ChiselGeneratedModelMeshManager.UpdateModels();
     ChiselNodeEditorBase.HandleCancelEvent();
 }
        private static void OnEditorApplicationUpdate()
        {
            // TODO: remove this once we've moved to managed implementation of CSG algorithm
            if (!loggingMethodsRegistered)
            {
                Editors.NativeLogging.RegisterUnityMethods();
                loggingMethodsRegistered = true;
            }

            //Grid.HoverGrid = null;
            CSGNodeHierarchyManager.Update();
            ChiselGeneratedModelMeshManager.UpdateModels();
            ChiselNodeEditorBase.HandleCancelEvent();
        }
 private static void OnEditorApplicationUpdate()
 {
     if (EditorApplication.isPlayingOrWillChangePlaymode)
     {
         return;
     }
     try
     {
         ChiselNodeHierarchyManager.Update();
         ChiselGeneratedModelMeshManager.UpdateModels();
         ChiselNodeEditorBase.HandleCancelEvent();
     }
     catch (Exception ex)
     {
         Debug.LogError(ex);
     }
 }
示例#4
0
 private static void OnEditorApplicationUpdate()
 {
     ChiselNodeHierarchyManager.Update();
     ChiselGeneratedModelMeshManager.UpdateModels();
     ChiselNodeEditorBase.HandleCancelEvent();
 }