创建有提示的ui组件
2024-10-20 13:38:37
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))
{ //...
}
}
}
}
最新文章
- R 查看函数源代码
- Daily Scrum02 12.11
- Monthly Expense(二分查找)
- php大力力 [024节]PHP中的字符串连接操作(2015-08-27)
- Android中的Handler的具体用法
- TinyTask Portable(录制和回放电脑操作过程)
- SQL SERVER NULL值和连接注意问题
- HTML5与CSS3权威指南.pdf4
- MySQL数据库迁移详细步骤(转)
- Redis 介绍与使用
- Android中九种dialog对话框代码
- Prometheus 架构 - 每天5分钟玩转 Docker 容器技术(83)
- leetcode刷题笔记231 2的幂
- 改善database schema
- D3中的each() 以及svg defs元素 clipPath的使用
- TensorFlow的Bazel构建文件结构
- Inotify+Rsync实现Linux服务器文件同步
- mssql instead of 触发器应用一-创建只读视图(view)的方法
- UVAlive 6697 Homework Evaluation
- 查看GPU占用率以及指定GPU加速程序
热门文章
- delphi 浮点数float转换成十六进制字符串的方法(FloatToHex)
- CGCS2000坐标系与其他坐标系间的差异和转换方法
- cocurrent包 原子性数据类型
- 五个常用的Linux监控脚本代码
- Section Formula
- python读写文件write和flush
- Angular 学习笔记——ng-animate
- Git提交时提示‘The file will have its original line endings in your working directory’
- 【Excle数据透视表】如何快速选定数据透视表的汇总行并添加绿色底纹
- HTML <;!DOCTYPE>; (转自w3school)