1
0
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:
Juan Linietsky
2016-08-07 19:22:33 -03:00
parent 6671c6bdc7
commit b77200728e
20 changed files with 2488 additions and 148 deletions

View File

@@ -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;