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