Hey Guys quick question:
What’s the correct way to bundle objects together, say I want a sprite or an image with a text label on it. When I move the image, I want the label to move with it automatically. I’ve looked into Container, but I can’t figure out how to get a reference to the children back out, say if I wanted to just get the label out of that Container.
I’m wondering if there’s a way to Extend GameObject.Sprite and have other objects present inside the subclass you make.
Could anyone point me in the right direction?