Animate game objects using Timeline in Unity

  • Select the game object that should animate and attach an animator component to it.
  • Go to the timeline and add an animation track.
  • Drag the game object on this track. (If you would directly drag the object without creating the component, Unity would prompt a message to do so.)
  • Click on the option menu on this track and select “Add from animation clip”.
Unity
  • Now, choose the clip that you would like to attach to this object.
  • Note that, the object component would remain empty even though timeline attaches an animation clip.
Unity

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store