摘要: ``` using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class CamerExtension : Editor { public override void OnInspectorGUI() { base.DrawDef... 阅读全文
posted @ 2017-08-10 23:12 yufenghou 阅读(396) 评论(0) 推荐(0)
摘要: ``` using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class Test : MonoBehaviour { [SerializeField][HideInInspector] private int _width; ... 阅读全文
posted @ 2017-08-10 22:55 yufenghou 阅读(890) 评论(0) 推荐(0)
摘要: ``` using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class EditorGUILayoutPopup : EditorWindow { public string[] options = new string[]{"cub... 阅读全文
posted @ 2017-08-10 22:46 yufenghou 阅读(12327) 评论(0) 推荐(0)
摘要: ![](http://images2017.cnblogs.com/blog/548583/201708/548583-20170810131027589-728382634.png) ``` using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; p... 阅读全文
posted @ 2017-08-10 13:11 yufenghou 阅读(2249) 评论(0) 推荐(0)