You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
-Added yield nodes to visual script
-Added input selection nodes to visual script -Added script create icon for those who miss it, will only appear when it can be used.
This commit is contained in:
@@ -93,12 +93,13 @@ public:
|
||||
private:
|
||||
|
||||
CallMode call_mode;
|
||||
Variant::Type basic_type;
|
||||
Variant::Type basic_type;
|
||||
StringName base_type;
|
||||
NodePath base_path;
|
||||
StringName property;
|
||||
bool use_builtin_value;
|
||||
Variant builtin_value;
|
||||
InputEvent::Type event_type;
|
||||
|
||||
Node *_get_base_node() const;
|
||||
StringName _get_base_type() const;
|
||||
@@ -136,6 +137,9 @@ public:
|
||||
void set_basic_type(Variant::Type p_type);
|
||||
Variant::Type get_basic_type() const;
|
||||
|
||||
void set_event_type(InputEvent::Type p_type);
|
||||
InputEvent::Type get_event_type() const;
|
||||
|
||||
void set_property(const StringName& p_type);
|
||||
StringName get_property() const;
|
||||
|
||||
@@ -177,6 +181,7 @@ private:
|
||||
StringName base_type;
|
||||
NodePath base_path;
|
||||
StringName property;
|
||||
InputEvent::Type event_type;
|
||||
|
||||
void _update_base_type();
|
||||
Node *_get_base_node() const;
|
||||
@@ -214,6 +219,9 @@ public:
|
||||
void set_basic_type(Variant::Type p_type);
|
||||
Variant::Type get_basic_type() const;
|
||||
|
||||
void set_event_type(InputEvent::Type p_type);
|
||||
InputEvent::Type get_event_type() const;
|
||||
|
||||
void set_property(const StringName& p_type);
|
||||
StringName get_property() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user