摘要: ``` using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; /// /// 用来在监视器下面生成一个按钮,可以扩展编辑器 /// 这个文件必须放在Editor文件夹下面 /// [CustomEditor(typeof(UnityEditor.De... 阅读全文
posted @ 2017-08-11 10:05 yufenghou 阅读(474) 评论(0) 推荐(0)
摘要: ``` using System.Collections; using System.Collections.Generic; using UnityEngine; public class MyTestAttribute : PropertyAttribute { public int max; public int min; public MyTe... 阅读全文
posted @ 2017-08-11 09:55 yufenghou 阅读(1095) 评论(0) 推荐(0)