Godot Version
Godot .NET 4.2.1
Question
How to read app version number (the one set in Export) at runtime?
Is there any API for that?
Thanks
Godot .NET 4.2.1
How to read app version number (the one set in Export) at runtime?
Is there any API for that?
Thanks
Found this (unanswered) question while searching for how to do the same thing.
The app version is in your project settings, so (at least in 4.6.1, the version I’m on) you can use ProjectSettings.get_setting() to read it at runtime. For example (gdscript):ProjectSettings.get_setting(“application/config/version”, “0.1”)
Note that you can get any Project Setting’s identifying string by going into the project settings and right-clicking on the name of that setting, and selecting “Copy Property Path”.