2 releases
new 0.2.1 | Dec 14, 2024 |
---|---|
0.2.0 | Dec 14, 2024 |
#1486 in Procedural macros
Used in animatron
5KB
71 lines
animatron-derive
This is a companion macro for animation-transition.
Usage
#[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,
}
Dependencies
~1.5MB
~37K SLoC