Deprecate is_playing_animation
(#14387)
# Objective Fixes #14386 ## Solution - Added the `#[deprecate]` attribute to the `is_playing_animation` function. ## Testing The project successfully builds. --- ## Migration Guide The user will just need to replace functions named `is_playing_animation` with `animation_is_playing`.
This commit is contained in:
parent
2a6dd3e2e0
commit
d8d49fdd13
@ -603,6 +603,7 @@ impl AnimationPlayer {
|
||||
self.active_animations.iter_mut()
|
||||
}
|
||||
|
||||
#[deprecated = "Use `animation_is_playing` instead"]
|
||||
/// Check if the given animation node is being played.
|
||||
pub fn is_playing_animation(&self, animation: AnimationNodeIndex) -> bool {
|
||||
self.active_animations.contains_key(&animation)
|
||||
|
Loading…
Reference in New Issue
Block a user