Unity And C#/Editor (1) 썸네일형 리스트형 Unity Editor 정리(Label, text, bool, GameObject array, enum 등 정리) 시작하기 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class EditorBasic : EditorWindow { #if UNITY_EDITOR [MenuItem("Tools/SubTitle")] public static void ShowWindow() { GetWindow("SubTitle"); } #endif } class를 하나 만든 후, 위 형식으로 작성합니다. 위 형식은 Tools 메뉴바에 SubTitle(자신이 원하는 제목)을 눌려 창을 열 수 있도록 합니다. Label private void OnGUI() { GUILayout.Label("Label.. 이전 1 다음