animatron-derive
This is a companion macro for animation-transition.


Usage
This is a companion macro for animation-transition.


#[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,
}