Ejemplo n.º 1
0
    public static void ShowWnd()
    {
        MathToolWindow wnd = (MathToolWindow)EditorWindow.GetWindow(typeof(MathToolWindow));

        wnd.title   = "数学工具";
        wnd.minSize = new Vector2(300.0f, 200.0f);
        wnd.autoRepaintOnSceneChange = true;
    }
Ejemplo n.º 2
0
 static public void MathToolMenu()
 {
     MathToolWindow.ShowWnd();
 }