mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Improve and streamline VisualScriptFuncNodes Call Set Get
This PR improves and streamlines the workflow for VisualScriptFunctionNodes Call Set Get Uniform design. Drag in set-get from tree is now working. port 'pass' not backported to 3.x to keep script backwards compatibility
This commit is contained in:
parent
40b57319e2
commit
af1ea1800d
4 changed files with 147 additions and 68 deletions
|
@ -179,6 +179,9 @@ class VisualScriptEditor : public ScriptEditorBase {
|
|||
|
||||
void _port_action_menu(int p_option, const StringName &p_func);
|
||||
|
||||
NodePath drop_path;
|
||||
Node *drop_node = nullptr;
|
||||
Vector2 drop_position;
|
||||
void connect_data(Ref<VisualScriptNode> vnode_old, Ref<VisualScriptNode> vnode, int new_id);
|
||||
|
||||
void _selected_connect_node(const String &p_text, const String &p_category, const bool p_connecting = true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue