mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Mono: Add build project button and reload interval
This commit is contained in:
parent
452313ffb1
commit
27b7fb8e66
8 changed files with 96 additions and 17 deletions
|
@ -477,6 +477,7 @@ void CSharpLanguage::reload_tool_script(const Ref<Script> &p_script, bool p_soft
|
|||
(void)p_script; // UNUSED
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
MonoReloadNode::get_singleton()->restart_reload_timer();
|
||||
reload_assemblies_if_needed(p_soft_reload);
|
||||
#endif
|
||||
}
|
||||
|
@ -624,6 +625,9 @@ void CSharpLanguage::reload_assemblies_if_needed(bool p_soft_reload) {
|
|||
|
||||
//if instance states were saved, set them!
|
||||
}
|
||||
|
||||
if (Engine::get_singleton()->is_editor_hint())
|
||||
EditorNode::get_singleton()->get_property_editor()->update_tree();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue