Summary
Returns true if the `clip` is currently being played by at least one state.
This method is inefficient because it searches through every state to find any that are playing the `clip`,
unlike
Animancer.AnimancerComponent.IsPlaying(UnityEngine.AnimationClip)
which only checks the state registered using the `clip`s key.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerComponent
Syntax
public bool IsPlayingClip(AnimationClip clip)
Parameters
Name | Type | Description |
---|---|---|
clip | AnimationClip |
Return Value
Type | Description |
---|---|
bool |