public static void ShowWindow() { GetWindow(typeof(SupportWindow)); SupportWindow myWindow = (SupportWindow)GetWindow(typeof(SupportWindow)); myWindow.titleContent = new GUIContent("Support"); }
void OnGUI() { SupportWindow myWindow = (SupportWindow)GetWindow(typeof(SupportWindow)); myWindow.minSize = new Vector2(300, 213); myWindow.maxSize = myWindow.minSize; if (GUILayout.Button(Styles.Forum, Styles.helpbox)) { Application.OpenURL("https://forum.unity3d.com/threads/released-doors-free-v2-3.445297/"); } if (GUILayout.Button(Styles.Documentation, Styles.helpbox)) { Application.OpenURL("http://docdro.id/JY0BUIP"); } if (GUILayout.Button(Styles.Contact, Styles.helpbox)) { Application.OpenURL("mailto:[email protected]?"); } if (GUILayout.Button(Styles.Twitter, Styles.helpbox)) { Application.OpenURL("https://twitter.com/blacksadunity"); } if (GUILayout.Button(Styles.Review, Styles.helpbox)) { Application.OpenURL("https://www.assetstore.unity3d.com/en/#!/account/downloads/search=Doors%20Free"); } }
void OnGUI() { SupportWindow myWindow = (SupportWindow)GetWindow(typeof(SupportWindow)); myWindow.minSize = new Vector2(300, 215); myWindow.maxSize = myWindow.minSize; if (GUILayout.Button(Styles.Forum, Styles.helpbox)) { Application.OpenURL("https://forum.unity.com/threads/v2-4-0-alexs-door-system-lite-free.445297/#post-2880291"); } if (GUILayout.Button(Styles.Documentation, Styles.helpbox)) { Application.OpenURL("https://alexdoorsystem.github.io/liteversion/"); } if (GUILayout.Button(Styles.Contact, Styles.helpbox)) { Application.OpenURL("mailto:[email protected]?"); } if (GUILayout.Button(Styles.Twitter, Styles.helpbox)) { Application.OpenURL("https://twitter.com/alexanderameye"); } if (GUILayout.Button(Styles.Review, Styles.helpbox)) { Application.OpenURL("https://www.assetstore.unity3d.com/en/#!/account/downloads/search=Door%20System"); } }
void OnGUI() { SupportWindow myWindow = (SupportWindow)GetWindow(typeof(SupportWindow)); myWindow.minSize = new Vector2(300, 260); myWindow.maxSize = myWindow.minSize; if (GUILayout.Button(Styles.Forum, Styles.helpbox)) { Application.OpenURL("https://forum.unity3d.com/threads/wip-doors-pro-a-powerful-door-system.459866/"); } if (GUILayout.Button(Styles.Documentation, Styles.helpbox)) { Application.OpenURL("https://alexdoorsystem.github.io/"); } if (GUILayout.Button(Styles.Contact, Styles.helpbox)) { Application.OpenURL("mailto:[email protected]?"); } if (GUILayout.Button(Styles.Twitter, Styles.helpbox)) { Application.OpenURL("https://twitter.com/alexanderameye"); } if (GUILayout.Button(Styles.Review, Styles.helpbox)) { Application.OpenURL("https://www.assetstore.unity3d.com/en/#!/account/downloads/search=Alex%20s%20Door%20System"); } if (GUILayout.Button(Styles.Changelog, Styles.helpbox)) { GetWindow(typeof(ChangeLog)); Close(); } }
public static void Init() { SupportWindow myWindow = (SupportWindow)GetWindow(typeof(SupportWindow)); myWindow.Show(); }