Unity JS 转 C#

用法:
js:
@Script RequireComponent(Rigidbody)

c#:
[RequireComponent (typeof (Rigidbody))]

js:
@System.NonSerialized
@SerializeField
@script Serializable 
c#:
[NonSerialized()]
[SerializeField]
[Serializable]
posted @ 2015-01-17 10:32  瑞坊  阅读(773)  评论(0编辑  收藏  举报