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

Mono/C#: Fix values not updated in remote inspector

(cherry picked from commit 51e1614d28)
This commit is contained in:
Ignacio Etcheverry
2020-05-22 00:58:34 +02:00
committed by Rémi Verschelde
parent 11d6c0f20d
commit 0da84b50c0
2 changed files with 47 additions and 18 deletions

View File

@@ -125,6 +125,10 @@ class CSharpScript : public Script {
virtual void _placeholder_erased(PlaceHolderScriptInstance *p_placeholder);
#endif
#if defined(TOOLS_ENABLED) || defined(DEBUG_ENABLED)
Set<StringName> exported_members_names;
#endif
Map<StringName, PropertyInfo> member_info;
void _clear();
@@ -175,6 +179,8 @@ public:
virtual void get_script_property_list(List<PropertyInfo> *p_list) const;
virtual void update_exports();
void get_members(Set<StringName> *p_members) override;
virtual bool is_tool() const { return tool; }
virtual bool is_valid() const { return valid; }