Search Unity

Combo move with the same key.

Discussion in 'Animation' started by unit_power, Oct 5, 2013.

  1. unit_power

    unit_power

    Joined:
    Jun 11, 2013
    Posts:
    21
    Hello Unity,

    I am trying to figure out how to do a combo move with the same key.
    If i press the right arrow two times do something if i press right arrow three times do something else.

    Thank you in advance,
    Upower ;)
     
  2. unit_power

    unit_power

    Joined:
    Jun 11, 2013
    Posts:
    21
    I know someone has the answer for this :D
     
  3. FaceToggle

    FaceToggle

    Joined:
    Feb 23, 2013
    Posts:
    13
    On pressing your button you'll need to set up a time limit within which the next button needs to be pressed. A sort of state machine might make sense to structure what move is executable in what state.