mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-03 18:09:13 +03:00
[Packed*Array] Add support for initializer lists.
(cherry picked from commit 8c98a90f32)
This commit is contained in:
@@ -91,6 +91,7 @@ func _ready():
|
||||
|
||||
# PackedArray iterators
|
||||
assert_equal(example.test_vector_ops(), 105)
|
||||
assert_equal(example.test_vector_init_list(), 105)
|
||||
|
||||
# Properties.
|
||||
assert_equal(example.group_subgroup_custom_position, Vector2(0, 0))
|
||||
|
||||
Reference in New Issue
Block a user