Implement index operators for Arrays

This commit is contained in:
Bastiaan Olij
2021-09-16 17:21:40 +10:00
parent 271e33658d
commit c2b690439f
5 changed files with 39 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ func _ready():
var ref = ExampleRef.new()
prints("sending ref: ", ref.get_instance_id(), "returned ref: ", $Example.extended_ref_checks(ref).get_instance_id())
prints("vararg args", $Example.varargs_func("some", "arguments", "to", "test"))
prints("test array", $Example.test_array())
# Use properties.
prints("custom position is", $Example.group_subgroup_custom_position)