Timeline for Unity2D: Avoid attack animation looping during combo
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 11, 2019 at 5:35 | comment | added | FSic | I am using an integer, comboCounter, that is originally set to 0. If I press the hit button, it updates to 1 and starts the animation for the first attack and if I press it again during the opening for the second attack it updates to 2. In the animator I keep seeing the value 1, which is ok, but it's like the SetInteger function keeps checking every frame. | |
| Jun 11, 2019 at 5:13 | history | answered | Visulth | CC BY-SA 4.0 |