Search Unity

Animation keypress

Discussion in 'Animation' started by Timoty75, Oct 10, 2018.

  1. Timoty75

    Timoty75

    Joined:
    May 29, 2017
    Posts:
    150
    Hi guys I would ask you one proble:
    I would change animation on keypress: if my gameobject(sword) is active, key play one animation but if the sword is deactivate, the same keypress plays another animation. How can I do? Thank a lot