Unity JS 转 C#

用法:
js:
@Script RequireComponent(Rigidbody)

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

js:
@System.NonSerialized
@SerializeField
@script Serializable 
c#:
[NonSerialized()]
[SerializeField]
[Serializable]

你可能感兴趣的:(unity)