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
This commit is contained in:
parent
edf9055b7f
commit
59738e3fa3
13 changed files with 2705 additions and 725 deletions
|
|
@ -239,6 +239,7 @@ private:
|
|||
PropertyInfo info;
|
||||
Variant default_value;
|
||||
bool _export;
|
||||
// add getter & setter options here
|
||||
};
|
||||
|
||||
Map<StringName, Function> 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue