摘要:
在扩展Unity的时候,往往会用到一些属性,这里将常用的列一下。 1、属性只读; #if UNITY_EDITOR using UnityEditor; #endif using UnityEngine; public class ReadOnlyAttribute : PropertyAttribute { } #if UNITY_EDITOR [CustomPropertyDrawe... 阅读全文
posted @ 2018-06-26 14:02
meteoric_cry
阅读(7478)
评论(0)
推荐(0)
浙公网安备 33010602011771号