'유니티 - 간단한 예제 모음'에 해당되는 글 2건

  1. 2016.01.15 Unity - Editor Sample
  2. 2016.01.15 Unity - EditorWindow Sample

using UnityEngine;

using UnityEditor;


[CustomEditor(typeof(MyComponent))]

public class MyComponentEditor : Editor

{

public override void OnInspectorGUI()

{

base.OnInspectorGUI();

}

}

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

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

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 카코데몬
,