This is the old Animancer v7.4 documentation. Click here for the latest version.

AnimationEventCache.

GetCachedEvents(AnimationClip) Method

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[]