SetMinMaxSizes() 개인적인 메소드

private SetMinMaxSizes ( ) : void
리턴 void
        public static AssetStoreWindow Init()
        {
            AssetStoreWindow window = EditorWindow.GetWindow <AssetStoreWindow>(typeof(SceneView));

            window.SetMinMaxSizes();
            window.Show();
            return(window);
        }
예제 #2
0
        public static AssetStoreWindow Init()
        {
            Type[]           desiredDockNextTo = new Type[] { typeof(SceneView) };
            AssetStoreWindow window            = EditorWindow.GetWindow <AssetStoreWindow>(desiredDockNextTo);

            window.SetMinMaxSizes();
            window.Show();
            return(window);
        }
예제 #3
0
 public static AssetStoreWindow Init()
 {
     if (EditorPrefs.GetBool("AlwaysOpenAssetStoreInBrowser", false))
     {
         OpenAssetStoreInBrowser();
         return(null);
     }
     else
     {
         AssetStoreWindow window = GetWindow <AssetStoreWindow>(typeof(SceneView));
         window.SetMinMaxSizes();
         window.Show();
         return(window);
     }
 }