Register bevy_animation::PlayingAnimation (#9023)
# Objective `bevy_animation::PlayingAnimation` derives `Reflect` but is not registered. ## Solution Register `bevy_animation::PlayingAnimation`.
This commit is contained in:
parent
bb281cfa2b
commit
8aa84babee
@ -606,6 +606,7 @@ impl Plugin for AnimationPlugin {
|
|||||||
app.add_asset::<AnimationClip>()
|
app.add_asset::<AnimationClip>()
|
||||||
.register_asset_reflect::<AnimationClip>()
|
.register_asset_reflect::<AnimationClip>()
|
||||||
.register_type::<AnimationPlayer>()
|
.register_type::<AnimationPlayer>()
|
||||||
|
.register_type::<PlayingAnimation>()
|
||||||
.add_systems(
|
.add_systems(
|
||||||
PostUpdate,
|
PostUpdate,
|
||||||
animation_player.before(TransformSystem::TransformPropagate),
|
animation_player.before(TransformSystem::TransformPropagate),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user