Пример #1
0
    static void Init()
    {
        StepWindowControl window = (StepWindowControl)GetWindow(typeof(StepWindowControl), false, "智能选配系统");

        window.spliceControl = GameObject.Find("Splice").GetComponent <SpliceControl>();
        window.Show();
    }
Пример #2
0
 public void GetWindow(StepWindowControl stepWindowControl)
 {
     str_Menus = new string[stepWindowControl.menus.Count];
     for (int i = 0; i < str_Menus.Length; i++)
     {
         str_Menus[i] = stepWindowControl.menus[i].name;
     }
 }
Пример #3
0
    private void ReStart()
    {
        if (styles == null)
        {
            styles = new EditorWindowStyle();
            styles.Init();
        }

        if (instance == null)
        {
            instance = this;
        }
    }