using UnityEditor; using UnityEngine; using System.Collections; using Edelweiss.CloudSystem; namespace Edelweiss.CloudSystemEditor { public class OutputModeEditor{ private GUIContent m_OutputButton; public void Initialize()//这个必须先调用 { m_OutputButton = new GUIContent("导出","导出当前云的网格模型"); } public void InspectorGUI() { EditorGUILayout.Space(); InspectorSupport.Explanation("Output", "导出云相关操作", null); EditorGUILayout.Space(); if (GUILayout.Button(m_OutputButton)) { //... } } } }
时间: 2024-10-11 04:23:33