From 59738e3fa3f01f85782883d025cd96f9b0d44283 Mon Sep 17 00:00:00 2001 From: Swarnim Arun Date: Sat, 14 Sep 2019 00:44:12 +0530 Subject: Visualscript editor graph unification & refactoring Removes the need to have separate graphs per function for the VisualScript Nodes, and refactoring UI and other improvements such as fuzzy search, right click search boxes and in-graph editable nodes --- modules/visual_script/visual_script.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/visual_script/visual_script.h') diff --git a/modules/visual_script/visual_script.h b/modules/visual_script/visual_script.h index 14927c4363..a035f6d42d 100644 --- a/modules/visual_script/visual_script.h +++ b/modules/visual_script/visual_script.h @@ -239,6 +239,7 @@ private: PropertyInfo info; Variant default_value; bool _export; + // add getter & setter options here }; Map functions; @@ -267,6 +268,8 @@ protected: static void _bind_methods(); public: + // TODO: Remove it in future when breaking changes are acceptable + StringName get_default_func() const; void add_function(const StringName &p_name); bool has_function(const StringName &p_name) const; void remove_function(const StringName &p_name); -- cgit v1.2.3