1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

C#: Move GLOBAL_DEFs to CSharpLanguage ctor

Also documents the .NET project settings.
This commit is contained in:
Raul Santos
2023-01-18 19:43:53 +01:00
parent 62106fe5e3
commit 3425d43fed
4 changed files with 12 additions and 8 deletions

View File

@@ -113,6 +113,11 @@ void CSharpLanguage::init() {
BindingsGenerator::handle_cmdline_args(cmdline_args);
#endif
GLOBAL_DEF("dotnet/project/assembly_name", "");
#ifdef TOOLS_ENABLED
GLOBAL_DEF("dotnet/project/solution_directory", "");
#endif
gdmono = memnew(GDMono);
gdmono->initialize();