EditorWindow
Unity3D 2013. 9. 12. 09:51Editor
http://docs.unity3d.com/Documentation/ScriptReference/Editor.html
EditorWindow
http://docs.unity3d.com/Documentation/ScriptReference/EditorWindow.html
using UnityEngine;
using System.Collections;
using UnityEditor;
public class AnimationCheckEditorWindow : EditorWindow {
void OnEnable(){
Debug.Log(this + " Enable");
}
void OnDisable(){
Debug.Log(this + " Disable");
}
void OnDestory(){
Debug.Log(this + " Destory");
}
void OnDidOpenScene(){
Debug.Log(this + " OnDidOpenScene");
}
void OnFocus(){
Debug.Log(this + " OnFocus");
}
void OnGUI(){
Debug.Log(this + " OnGUI");
}
void OnHierarchyChange(){
Debug.Log(this + " OnHierarchyChange");
}
void OnInspectorUpdate(){
Debug.Log(this + " OnInspectorUpdate");
}
void OnLostFocus(){
Debug.Log(this + " OnLostFocus");
}
void OnProjectChange(){
Debug.Log(this + " OnLostFocus");
}
void OnSelectionChange(){
Debug.Log(this + " OnSelectionChange");
}
void Update(){
Debug.Log(this + " Update");
}
}
'Unity3D' 카테고리의 다른 글
Unity3d 4.3 2D Workflow (0) | 2013.09.22 |
---|---|
ArgumentException: Getting control 1's position in a group with only 1 controls when doing (0) | 2013.09.12 |
Gizmo and Icon Display Controls (0) | 2013.09.06 |
How do I use layermasks? (0) | 2013.09.06 |
Bringing some depth for your 2D Game Design - Isometric and Dimetric perspective techniques (0) | 2013.09.03 |