public static void ShowWnd() { MathToolWindow wnd = (MathToolWindow)EditorWindow.GetWindow(typeof(MathToolWindow)); wnd.title = "数学工具"; wnd.minSize = new Vector2(300.0f, 200.0f); wnd.autoRepaintOnSceneChange = true; }
static public void MathToolMenu() { MathToolWindow.ShowWnd(); }