AnimancerState.

AnimancerState.DelayedPause Class

Summary

Uses Animancer.AnimancerPlayable.RequirePostUpdate(Animancer.IUpdatable) to pause a Animancer.AnimancerNode._Playable.
Assembly
Animancer.dll
Namespace
Animancer
Interfaces
Base Types
graph BT Type-->Base0["Key"] click Base0 "/animancer/api/Animancer/Key" Base0-->Base1["Object"] Type-.->Interface0["IUpdatable"] click Interface0 "/animancer/api/Animancer/IUpdatable" Type-.->Interface1["Key.IListItem"] click Interface1 "/animancer/api/Animancer/IListItem" Type["AnimancerState.DelayedPause"] class Type type-node

Syntax

public class AnimancerState.DelayedPause : Key, IUpdatable, Key.IListItem

Fields

Name Constant Value Summary
NotInList -1
The Animancer.Key._Index which indicates that an item isn't in a list.
Inherited from Key
static

Properties

Name Value Summary
Root AnimancerPlayable
The Animancer.AnimancerNode.Root.
State AnimancerState
The state that will be paused.

Methods

Name Value Summary
IndexOf(Key) int
Returns location of this object in the list (or -1 if it is not currently in a keyed list).
Inherited from Key
static
IsInList(Key) bool
Is the `key` currently in a keyed list?
Inherited from Key
static
Register(AnimancerState) void
Gets a Animancer.AnimancerState.DelayedPause from the Animancer.ObjectPool and initializes it for the `state`.
static
Update() void
Pauses the Animancer.AnimancerState.DelayedPause.State if Animancer.AnimancerState.IsPlaying hasn't been set to true and returns this object to the Animancer.ObjectPool.