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

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