初涉UnityEditor
来源:互联网 发布:淘宝禁售电话卡和天猫 编辑:程序博客网 时间:2024/05/18 02:09
ContextMenu
[ContextMenu("Do something")] private void DoSomething() { print("test do something"); }
ContextMenuItem
[ContextMenuItem("Reset", "ResetName")] public string name = "Eagle"; private void ResetName() { name = "Default"; }
ExecuteInEditMode
public Transform target; void Update() { if (target) transform.LookAt(target); }
Header
[Header("Value")] public int currentValue = 0; public int maxValue = 100; [Header("Count")] public int currentCount = 10; public int maxCount = 100;
MultilineAttribute and Range
[MultilineAttribute] public string mText; [Range(0, 100)] public int Value;
更多内容请参考:http://www.unity.5helpyou.com/3550.html
http://www.manew.com/home.php?mod=space&uid=75030&do=thread&view=me&from=space
阅读全文
0 0
- 初涉UnityEditor
- UnityEditor 热键
- UnityEditor(1)
- 使用UnityEditor做工具
- UnityEditor常用函数
- UnityEditor.Callbacks中的OnOpenAssetAttribute
- UnityEditor 打开对应类
- UnityEditor 反射事件2
- UnityEditor 事件(1)
- Unityeditor 事件(2)
- UnityEditor Windows Event(3)
- UnityEditor Window Event
- UnityEditor的Selection类
- 解决 UnityEditor.AsyncHTTPClient:Done
- using UnityEditor 错误问题
- using UnityEditor引用注意事项
- Unity Error:UnityEditor.EditorApplicationLayout:FinalizePlaymodeLayout()
- UnityEditor下文件操作方法汇总
- Java 习题9 参考答案及解析
- JQuery验证插件validation的使用
- img相对于div垂直居中
- iOS-UILabel几种自适应情况
- 6月15日云栖精选夜读:阿里配管专家解读:如何最优成本搭建非标准的iOS构建集群
- 初涉UnityEditor
- jQuery知识总结
- 第六章 跟踪用户动作
- django的sql返回结果QuerySets
- Linux nginx安装步骤
- centos 7.2 下为erlang添加protobuffs
- 中钰睿泓浅谈设计师的创新
- 使用IntelliJ IDEA开发SpringMVC网站(二)框架配置
- 云客Drupal8源码分析之配置系统Configuration(四):配置schema与类型化