# animatron-derive
This is a companion macro for [animation-transition](https://github.com/tauseefk/animation-transition).


### Usage
```Rust
#[derive(AnimationTransitionMacro)]
pub struct PlayerAnimationState {
/// This is needed to tell the compiler the type of your animation variant enum
#[variant]
pub variant: PlayerAnimationVariant,
pub idx: usize,
}
```