mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-07 10:10:08 +03:00
some NodePath fixes and better handling of Object type arguments
This commit is contained in:
@@ -385,6 +385,10 @@ Variant::operator PoolColorArray() const
|
||||
godot_pool_color_array s = godot_variant_as_pool_color_array(&_godot_variant);
|
||||
return *(PoolColorArray *) &s;
|
||||
}
|
||||
Variant::operator Object*() const {
|
||||
godot_object *o = godot_variant_as_object(&_godot_variant);
|
||||
return (Object *) o;
|
||||
}
|
||||
|
||||
Variant::Type Variant::get_type() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user