summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.h
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2020-05-22 00:58:34 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2020-05-22 00:58:38 +0200
commit51e1614d286b5cc172fcb14e93eb8ee446bc3df3 (patch)
tree61d26e251b10f3a31e374a68af0c078fc9d25580 /modules/mono/csharp_script.h
parent9239412027b6c25009efab69dc39650e0d76c56d (diff)
downloadredot-engine-51e1614d286b5cc172fcb14e93eb8ee446bc3df3.tar.gz
Mono/C#: Fix values not updated in remote inspector
Diffstat (limited to 'modules/mono/csharp_script.h')
-rw-r--r--modules/mono/csharp_script.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h
index 52b0783a6e..0bf08ceafd 100644
--- a/modules/mono/csharp_script.h
+++ b/modules/mono/csharp_script.h
@@ -138,6 +138,10 @@ private:
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();
@@ -191,6 +195,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; }