用法:js:@Script RequireComponent(Rigidbody) c#:[RequireComponent (typeof (Rigidbody))]
js:
@System.NonSerialized
c#:
[NonSerialized()]
Unity JS 转 C#
原文:http://www.cnblogs.com/liruiosng/p/4230193.html