AnimancerState.

Events Property

Summary

A list of Animancer.AnimancerEvents that will occur while this state plays as well as one that specifically defines when this state ends.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerState

Syntax

public AnimancerEvent.Sequence Events { get; set; }

Remarks

Accessing this property will acquire a spare Animancer.AnimancerEvent.Sequence from the Animancer.ObjectPool if none was already assigned. You can use Animancer.AnimancerState.HasEvents to check beforehand.

These events will automatically be cleared by Animancer.AnimancerState.Play, Animancer.AnimancerState.Stop, and Animancer.AnimancerState.OnStartFade (unless Animancer.AnimancerState.AutomaticallyClearEvents is disabled).

Animancer Lite does not allow the use of events in runtime builds, except for .

Documentation: Animancer Events

Value

Type Description
AnimancerEvent.Sequence