Handles weapon animation states and transitions. More...
Functions | |
| void | Gun_AnimationUpdate () |
| [PostUpdate] Updates the gun's animation state | |
Handles weapon animation states and transitions.
Manages animations for different gun states including idle, firing, and reloading with proper sprite flipping.
Note that the reloading animations aren't implemented yet.
Selects the appropriate animation clip based on gun orientation and advances the animation frame.
| void Gun_AnimationUpdate | ( | ) |
[PostUpdate] Updates the gun's animation state
Updates gun animations.
Selects the appropriate animation clip based on gun orientation and advances the animation frame.