[Packed*Array] Add support for initializer lists.

(cherry picked from commit 8c98a90f32)
This commit is contained in:
bruvzg
2024-03-03 12:47:57 +02:00
committed by David Snopek
parent f002ca18c7
commit a07b1f6e07
4 changed files with 27 additions and 0 deletions

View File

@@ -154,6 +154,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))