[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 07e245e3e4
commit e99d7b3b7e
4 changed files with 27 additions and 0 deletions

View File

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