예제 #1
0
        // Use this for initialization
        static public void Init()
        {
            XSUpdater window = EditorWindow.GetWindow <XSUpdater>(true, "XSToon: Docs & Updater", true);

            window.minSize = new Vector2(400, 300);
            window.maxSize = new Vector2(401, 501);
        }
예제 #2
0
 public static void openInfoPanel(int Width, int Height)
 {
     GUILayout.BeginHorizontal();
     GUILayout.FlexibleSpace();
     if (GUILayout.Button("Updater | Documentation", GUILayout.Width(Width), GUILayout.Height(Height)))
     {
         XSUpdater.Init();
     }
     GUILayout.FlexibleSpace();
     GUILayout.EndHorizontal();
 }