コード例 #1
0
 private static void OnEditorApplicationUpdate()
 {
     if (EditorApplication.isPlayingOrWillChangePlaymode)
     {
         return;
     }
     ChiselNodeHierarchyManager.Update();
     ChiselGeneratedModelMeshManager.UpdateModels();
     ChiselNodeEditorBase.HandleCancelEvent();
 }
コード例 #2
0
        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();
        }
コード例 #3
0
        private static void OnEditorApplicationUpdate()
        {
#if !USE_MANAGED_CSG_IMPLEMENTATION
            // TODO: remove this once we've moved to managed implementation of CSG algorithm
            if (!loggingMethodsRegistered)
            {
                Editors.NativeLogging.RegisterUnityMethods();
                loggingMethodsRegistered = true;
            }
#endif

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