Hello,
I wonder if it’s possible to enumerate a collection.
I’ve looked into the API the go
functions table, but it doesn’t seem possible.
If my collection is named ground_collection
and inside i have game objects like ground00
… ground06
, i can do:
print( go.get_id("ground00"))
which returns the id.
but
print(go.get_id("ground_collection"))
returns an error code.
I want to do this for applying the same operation on all the game objects of a collection, without the need to list them in a table (i’m doing the runner
tutorial if you wonder ).
As the collection have a name
property, i guess i can do something with it.
Thank you for reading.