Hi,
I was wondering how can I update the sprite in the container.
So let us have:
-an array
-add 2 containers
-go to the first container located in Array[0]
-add some sprites to it firstContainer.add.sprite(path to png file)
I would like to go to the first child and change the sprite.
In my mind I have:
array[0].list[0].setTexture(path to a new png file)
but I am not allowed to use setTexture function.
Any ideas about how can I control the texture of sprites in my containers?