static void Init() { StepWindowControl window = (StepWindowControl)GetWindow(typeof(StepWindowControl), false, "智能选配系统"); window.spliceControl = GameObject.Find("Splice").GetComponent <SpliceControl>(); window.Show(); }
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; } }
private void ReStart() { if (styles == null) { styles = new EditorWindowStyle(); styles.Init(); } if (instance == null) { instance = this; } }