Unity3d中的属性(Attributes)整理

Attributes属性属于U3D的RunTimeClass,所以加上以下的命名空间是必须的了。其它倒没什么需要注意的。本文将所有运行属性过一遍罢了。 using UnityEngine; using System.Collections;   1.AddComponentMenu 添加组件菜单 这函数只是起方便用,原本的脚本(组建)都会在“Component/Script”菜单下,在类之前声明一
相关文章
相关标签/搜索