Search Unity

How to use animator like legacy animation system ?

Discussion in 'Animation' started by Entretoize, May 17, 2017.

  1. Entretoize

    Entretoize

    Joined:
    Feb 27, 2015
    Posts:
    59
    Hello, I'm actually using a animator for sprite animation but as a programmer I hate it, I would prefer using scripting to define which animation can be played in which condition ... so you'll say : just use the legacy system. But Unity says it is just for backward compatilibty so should I really use it for a new project ?

    Then is there a way to use animator without needing to use the animator panel, and just have to call an animation when I want it to be played like "myanimator->Play("manRun")" ?

    Thanks in advance.
     
  2. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790