diff --git a/crates/bevy_animation/src/animation_curves.rs b/crates/bevy_animation/src/animation_curves.rs index 2ca23727b57f9..14ee7f24fc8f8 100644 --- a/crates/bevy_animation/src/animation_curves.rs +++ b/crates/bevy_animation/src/animation_curves.rs @@ -187,7 +187,10 @@ impl AnimationCompatibleCurve for C where C: Curve + Debug + Clone + #[derive(Reflect, FromReflect)] #[reflect(from_reflect = false)] pub struct AnimatableCurve { - curve: C, + /// The inner [curve] whose values are used to animate the property. + /// + /// [curve]: Curve + pub curve: C, #[reflect(ignore)] _phantom: PhantomData

, }