Search Unity

how to know if my animation exists by means of code

Discussion in 'Animation' started by lscroberto, Sep 7, 2017.

  1. lscroberto

    lscroberto

    Joined:
    Mar 28, 2017
    Posts:
    9
    as I can know if my animation I run through the animator.Play exists and print it on the console.
     
  2. sdutter

    sdutter

    Joined:
    Jun 28, 2015
    Posts:
    20
    These two areas of Unity's documentation will help point you in the right direction

    AnimationState and Animation