Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Animation keypress

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

  1. Timoty75

    Timoty75

    Joined:
    May 29, 2017
    Posts:
    130
    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