diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-10-22 19:43:19 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-10-25 18:00:24 +0200 |
commit | 1aac95a7375e58bacade69ed12f9dade484a03a8 (patch) | |
tree | 740e21d53c5a65e1e405f3f71b89ba05a7cf4fae /modules/mono/mono_gd | |
parent | c6e2873605c33230210af2738f59b869ffe2141c (diff) |
Parse C# script namespace and class
- Added a very simple parser that can extract the namespace and class name of a C# script.
Diffstat (limited to 'modules/mono/mono_gd')
-rw-r--r-- | modules/mono/mono_gd/gd_mono.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mono/mono_gd/gd_mono.cpp b/modules/mono/mono_gd/gd_mono.cpp index d0638d61ed..c64f13b49c 100644 --- a/modules/mono/mono_gd/gd_mono.cpp +++ b/modules/mono/mono_gd/gd_mono.cpp @@ -582,6 +582,8 @@ bool GDMono::_load_project_assembly() { if (success) { mono_assembly_set_main(project_assembly->get_assembly()); + + CSharpLanguage::get_singleton()->project_assembly_loaded(); } else { if (OS::get_singleton()->is_stdout_verbose()) print_error("Mono: Failed to load project assembly"); |