public static void DoShowScreen() { if (BuildPipeline.isBuildingPlayer || UnityEditorInternal.InternalEditorUtility.inBatchMode) { return; } PluginsData = null; EditorWindow.GetWindowWithRect <I2AboutWindow>(new Rect(0f, 0f, 670f, 510f), true, "Plugins Manager"); }
static void LoadDefaultData() { PluginsData = new PluginsManagerData() { WebURL = "http://www.inter-illusion.com", ContactUs = "http://www.inter-illusion.com/forum/index", AssetStoreURL = "https://www.assetstore.unity3d.com/en/#!/publisher/5916", Videos = "https://www.youtube.com/channel/UCBYYngAJJjCuoZhu1UbwoAw", AlertText = "Alert" }; PluginsData.Plugins = new PluginData[2]; PluginsData.Plugins [0] = new PluginData() { Name = "I2 Localization", Description = "The most complete Localization solution for Unity", TrailerURL = "https://www.youtube.com/watch?v=h27T3WFTOFE", DocumentationURL = "http://www.inter-illusion.com/assets/I2LocalizationManual/I2LocalizationManual.html", TutorialsURL = "http://inter-illusion.com/tools/i2-localization", ForumURL = "http://www.inter-illusion.com/forum/i2-localization", AssetStoreURL = "https://www.assetstore.unity3d.com/#!/content/14884", AssetStoreVersion = "2.6.1 f2", BetaVersion = "2.6.1 f2" }; PluginsData.Plugins [1] = new PluginData() { Name = "I2 MiniGames", Description = "A clever alternative to Rewards and Energy Caps", TrailerURL = "https://www.youtube.com/channel/UCBYYngAJJjCuoZhu1UbwoAw", DocumentationURL = "http://inter-illusion.com/assets/MiniGamesManual/I2MiniGames.html", TutorialsURL = "http://inter-illusion.com/tools/i2-minigames", ForumURL = "http://inter-illusion.com/forum/minigames", AssetStoreURL = "http://u3d.as/ksR", AssetStoreVersion = "none", BetaVersion = "1.0.0 b1" }; PluginsData.Assets = new AssetData[] { new AssetData() { Name = "Sci-Fi Indoor Facility", URL = "https://www.assetstore.unity3d.com/en/#!/content/31165" } }; PluginsData.Games = new AssetData[] { new AssetData() { Name = "iTapPirate", URL = "http://inter-illusion.com/games/itappirate" }, new AssetData() { Name = "Brush Master", URL = "http://inter-illusion.com/games/brush-master" } }; }
public static void DoShowScreen() { PluginsData = null; EditorWindow.GetWindowWithRect <I2AboutWindow>(new Rect(0f, 0f, 670f, 510f), true, "Plugins Manager"); }