에디터 창(EditorWindow)
https://docs.unity3d.com/kr/current/Manual/editor-EditorWindows.html
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | using UnityEngine; using UnityEditor; using System.Collections; class MyWindow : EditorWindow { [MenuItem ("Window/My Window")] public static void ShowWindow () { EditorWindow.GetWindow(typeof(MyWindow)); } void OnGUI () { // The actual window code goes here } } | cs |
'Unity > Editor' 카테고리의 다른 글
ScriptableObject (0) | 2018.11.29 |
---|---|
ReorderableList (0) | 2018.11.29 |
Unity 실행 시 에디터 스크립트 코드 실행 (0) | 2018.11.21 |
트리뷰(TreeView) (0) | 2018.11.21 |
커스텀 에디터(CustomEditor) (0) | 2018.11.21 |