using UnityEngine;

using UnityEditor;


public class MyEditorWindow : EditorWindow

{

[MenuItem("Window/My Window")]

static void ShowWindow()

{

EditorWindow.GetWindow<MyEditorWindow>();

}


void OnGUI()

{

if (GUILayout.Button("Test"))

Debug.Log("Test");

}

}

'유니티 - 간단한 예제 모음' 카테고리의 다른 글

Unity - Editor Sample  (0) 2016.01.15
Posted by 카코데몬
,