#include "visual_script_func_nodes.h" #include "scene/main/scene_main_loop.h" #include "os/os.h" #include "scene/main/node.h" #include "visual_script_nodes.h" #include "io/resource_loader.h" #include "globals.h" ////////////////////////////////////////// ////////////////CALL////////////////////// ////////////////////////////////////////// int VisualScriptFunctionCall::get_output_sequence_port_count() const { if (method_cache.flags&METHOD_FLAG_CONST || call_mode==CALL_MODE_BASIC_TYPE) return 0; else return 1; } bool VisualScriptFunctionCall::has_input_sequence_port() const{ if (method_cache.flags&METHOD_FLAG_CONST || call_mode==CALL_MODE_BASIC_TYPE) return false; else return true; } #ifdef TOOLS_ENABLED static Node* _find_script_node(Node* p_edited_scene,Node* p_current_node,const Ref