Question by
IgorArnaut · May 30 at 12:01 PM ·
animatorunity 2dparameters
Can I make a prefab have different sprites based on what direction it is facing?
I have a prefab called Terminal whose animator has two blend trees that describe if the terminal is off or on. Each tree has four animations with a single sprite based on which orientation they are facing. I have two parameters called "horizontal and vertical". I want to make multiple copies of the same prefab in the hierarchy to have different idle sprites based on their orientation. I also want them to have box colliders of different sizes. Is it possible to without duplicating the prefab in prefabs folder?
unity-orientation.png
(278.2 kB)
Comment