Summary
Returns the
UnityEngine.AnimationClip.events
and caches the result to avoid allocating more memory with
each subsequent call.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.Editor - Containing Type
- AnimationEventCache
Syntax
public static AnimationEvent[] GetCachedEvents(this AnimationClip clip)
Parameters
Name | Type | Description |
---|---|---|
clip | AnimationClip |
Return Value
Type | Description |
---|---|
AnimationEvent[] |