public static AssetStoreWindow Init() { AssetStoreWindow window = EditorWindow.GetWindow <AssetStoreWindow>(typeof(SceneView)); window.SetMinMaxSizes(); window.Show(); return(window); }
public static AssetStoreWindow Init() { Type[] desiredDockNextTo = new Type[] { typeof(SceneView) }; AssetStoreWindow window = EditorWindow.GetWindow <AssetStoreWindow>(desiredDockNextTo); window.SetMinMaxSizes(); window.Show(); return(window); }
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); } }