Added version text
It doesnt show the latest version yet but thats to be... heh.. expected.. what
This commit is contained in:
1 parent
3b0f47492d
commit
1a8f4de7f9
6 files changed
+60
-1
No files matched your search
@@ -0,0 +1,11 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class VersionChecker : Control {
|
||||
public override void _Ready() {
|
||||
Label VersionLabel = GetNode<Label>("Version");
|
||||
string GameVersion = ProjectSettings.GetSetting("application/config/version").AsString();
|
||||
|
||||
VersionLabel.Text = "Version: " + GameVersion;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user