To import object animation, follow these steps:
- Animate an object in a 3D package (translation, rotation, and scale animations are supported).
- Import the object into Unity and select the Generic rig type.
- You can adjust animation settings normally (loop an animation for instance).
- Create an Animator Controller and drag and drop one of the imported animations into the Animator window to create a default animation state.
- Place your animated object into a scene and assign the controller to the Animator component of the object.
- If you run the game, the object will be animated.