Skip to content

Commit

Permalink
Add version number in code and link to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
GotoFinal committed Apr 13, 2020
1 parent dffd0c6 commit fac8bce
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Assets/GotoUdon/Editor/GotoUdonEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ private void OnPlayEnd()

private void OnGUI()
{
if (GUILayout.Button("Made by GotoFinal, click to join (or just add me GotoFinal#5189) on discord for help: https://discord.gg/B8hbbax", EditorStyles.helpBox))
// TODO: add version checker in next release?
if (GUILayout.Button("Version: 1.0.0. Click to check for new version at: https://github.com/GotoFinal/GotoUdon/releases", EditorStyles.helpBox))
{
Application.OpenURL("https://github.com/GotoFinal/GotoUdon/releases");
}
if (GUILayout.Button("Click to join (or just add me GotoFinal#5189) on discord for help: https://discord.gg/B8hbbax", EditorStyles.helpBox))
{
Application.OpenURL("https://discord.gg/B8hbbax");
}
Expand Down

0 comments on commit fac8bce

Please sign in to comment.