- Home /
Question by
Jelenzen · Aug 18, 2014 at 09:22 AM ·
parentchilddisplaychild objectsprite renderer
How can I display a child object instead of the parent?
I'm making a turn-based strategy game, and I'm implementing a job structure. What I need is for a Unit to display the sprites and animations of its "Job". The reasoning being so that if a unit evolves and gets a new job, I can just change the job attached to it, and it will display differently.
Currently I have the job prefab as a child of the Unit gameobject, but the Unit doesn't display anything when put in the scene. Any help would be appreciated.
Comment