Hello guys,
i thought of posting this to Unity Forums, but they are so complicated there, would probably get some script solutions and my animation in Unity knowledge is quite poor for now so i was hoping from some help from here.
I have a simple weapon switching animation which consists of weapon number 1 pulling into ship wing, and weapon 2 pulling out of ship wing.
There's only one weapon in the gif, but you get the idea.
Making a large number of animations for each weapon switch combination (there are almost 30 of them) is absurd and i'm sure that's not the way to go.
I basically need the object with sprite renderer which represents the weapon to move 10 pixels left until it is hidden, then swap sprite and move 10 pixels right. I'm also not sure if that's the right way to do it too.
Any meaningful ideas? I'm scared of Mecanim, haven't done anything with it yet.