A game about forced loneliness, made by TACStudios
1using System; 2 3using UnityEditor; 4 5namespace Unity.PlasticSCM.Editor.UI 6{ 7 internal static class ShowWindow 8 { 9 internal static PlasticWindow Plastic() 10 { 11 PlasticWindow window = EditorWindow.GetWindow<PlasticWindow>( 12 UnityConstants.PLASTIC_WINDOW_TITLE, 13 true, 14 mConsoleWindowType, 15 mProjectBrowserType); 16 17 window.UpdateWindowIcon(PlasticPlugin.GetNotificationStatus()); 18 19 return window; 20 } 21 22 static Type mConsoleWindowType = typeof(EditorWindow). 23 Assembly.GetType("UnityEditor.ConsoleWindow"); 24 static Type mProjectBrowserType = typeof(EditorWindow). 25 Assembly.GetType("UnityEditor.ProjectBrowser"); 26 } 27}