Unity3D 属性类(Attribute)整理 (待续)

来源:互联网 发布:php网站架构 编辑:程序博客网 时间:2024/05/29 08:24
ContextMenu 
用法:
[ContextMenu ("Hello")]void Hello(){    Debug.Log("This is test for ContextMenu ");}
用处:

使用当前脚本时候可以用右键菜单触发开发环境中运行的函数
----------------------------------------------------------------------------------------
0 0
原创粉丝点击