예제 #1
0
        static void Init()
        {
            NGUIDepthSetterMain window = (NGUIDepthSetterMain)EditorWindow.GetWindow(typeof(NGUIDepthSetterMain), false, "NGUI Depth Setter");

            window.Clear();
            window.ClearPanels();
            window.Show();
        }
예제 #2
0
 void OnDisable()
 {
     Clear(); mainWindow = null;
 }
예제 #3
0
 void OnEnable()
 {
     mainWindow = this;
 }