You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Merge pull request #73590 from vnen/gdscript-global-scope-enums
Make global scope enums accessible as types in GDScript
This commit is contained in:
@@ -125,6 +125,7 @@ public:
|
||||
bool is_constant = false;
|
||||
bool is_read_only = false;
|
||||
bool is_meta_type = false;
|
||||
bool is_pseudo_type = false; // For global names that can't be used standalone.
|
||||
bool is_coroutine = false; // For function calls.
|
||||
|
||||
Variant::Type builtin_type = Variant::NIL;
|
||||
@@ -211,6 +212,7 @@ public:
|
||||
is_read_only = p_other.is_read_only;
|
||||
is_constant = p_other.is_constant;
|
||||
is_meta_type = p_other.is_meta_type;
|
||||
is_pseudo_type = p_other.is_pseudo_type;
|
||||
is_coroutine = p_other.is_coroutine;
|
||||
builtin_type = p_other.builtin_type;
|
||||
native_type = p_other.native_type;
|
||||
|
||||
Reference in New Issue
Block a user