//SaveAssets
        private void SaveAssets()
        {
            if (!HasUnsavedTessellatorReferences())
            {
                EditorUtility.DisplayDialog("CaronteFX - Info", "There is not any mesh to save in assets.", "ok");
                return;
            }

            CREditorUtils.SaveAnyUnsavedMeshInHierarchy(Data.NodeGO, false);
        } //Save tessellator result
Пример #2
0
        public void SaveWeldResult()
        {
            if (!HasUnsavedWeldReferences())
            {
                EditorUtility.DisplayDialog("CaronteFX - Info", "There is not any mesh to save in assets.", "ok");
                return;
            }

            CREditorUtils.SaveAnyUnsavedMeshInHierarchy(Data.WeldGameObject, false);
        } //Save weld result
        private void SaveChopResult()
        {
            if (!HasUnsavedChopReferences())
            {
                EditorUtility.DisplayDialog("CaronteFX - Info", "There is not any mesh to save in assets.", "ok");
                return;
            }

            CREditorUtils.SaveAnyUnsavedMeshInHierarchy(Data.GameObjectChoppedRoot, false);
        }