摘要:
``` using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; /// /// 用来在监视器下面生成一个按钮,可以扩展编辑器 /// 这个文件必须放在Editor文件夹下面 /// [CustomEditor(typeof(UnityEditor.De... 阅读全文
摘要:
``` using System.Collections; using System.Collections.Generic; using UnityEngine; public class MyTestAttribute : PropertyAttribute { public int max; public int min; public MyTe... 阅读全文
摘要:
```
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor; public class CamerExtension : Editor { public override void OnInspectorGUI() { base.DrawDef... 阅读全文
摘要:
```
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor; public class Test : MonoBehaviour { [SerializeField][HideInInspector] private int _width; ... 阅读全文
摘要:
```
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor; public class EditorGUILayoutPopup : EditorWindow { public string[] options = new string[]{"cub... 阅读全文
摘要:
 ```
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor; p... 阅读全文
摘要:
``` Your snippets Atom snippets allow you to enter a simple prefix in the editor and hit tab to expand the prefix into a larger code block with templa 阅读全文