摘要: 转自 http://blog.csdn.net/spring_shower/article/details/48708337 举两个例子,在变量上使用[SerializeFiled]属性,可以强制让变量进行序列化,可以在Unity的Editor上进行赋值。在Class上使用[RequireCompo 阅读全文
posted @ 2017-09-11 10:41 狭隘龙 阅读(400) 评论(1) 推荐(0) 编辑