How to play simple animation without animator

Is there a way to play simple animation without Animator. I know there is Animation class but in manual is written that is legacy.

So if it is lagacy, is there some othere way how to play it without using Animator overhead? Thanks a lot

You can still use ‘legacy’ animation, but it is specific to that model, and the model needs to be imported with a legacy rig.

There is a paid (lite for free) asset in the store called Animancer which uses an Animator component and it’s own component to ‘play’ animations on-demand. That may be what you are looking for.

What I am worry when I will be using legacy Animation class is that Unity will remove it at some point and that will be a bummer.

bone animation is a core function of FBX.

It’s like saying 'what if Unity stops supporting PNG…". It’s not worth debating why that won’t happen. You are just making up something to worry about.

They have said that they won’t remove the Legacy animation system unless Mecanim can do everything it could do with equal or better performance (which is currently not the case).

You might also be interested in the Solo Animation component in my Animancer plugin which makes it easy to play non-legacy animations on their own or a NamedAnimancerComponent which has an Inspector similar to the Legacy Animation component (an Animations array and Play Automatically toggle).