AnimancerEvent.Sequence.

AnimancerEvent.

AnimancerEvent.Sequence.Serializable Class

Summary

Serializable data which can be used to construct an Animancer.AnimancerEvent.Sequence using Animancer.StringAssets and Animancer.IInvokables.
Assembly
Animancer.dll
Namespace
Animancer
Interfaces
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["ICloneable<AnimancerEvent.Sequence.Serializable>"] Type-.->Interface1["ISerializationCallbackReceiver"] Type["AnimancerEvent.Sequence.Serializable"] class Type type-node

Syntax

[Serializable]
public class AnimancerEvent.Sequence.Serializable : 
    ICloneable<AnimancerEvent.Sequence.Serializable>, ISerializationCallbackReceiver

Remarks

Documentation: Animancer Events

Attributes

Type Description
SerializableAttribute

Properties

Name Value Summary
Callbacks IInvokable[]
[UnityEngine.SerializeField] The serialized Animancer.AnimancerEvent.callbacks.
Events AnimancerEvent.Sequence
The runtime Animancer.AnimancerEvent.Sequence compiled from this Animancer.AnimancerEvent.Sequence.Serializable. Each call after the first will return the same reference.
InitializedEvents AnimancerEvent.Sequence
Returns the Animancer.AnimancerEvent.Sequence.Serializable.Events or null if it wasn't yet initialized.
Names StringAsset[]
[UnityEngine.SerializeField] The serialized Animancer.AnimancerEvent.Sequence.Names.
NormalizedTimes float[]
[UnityEngine.SerializeField] The serialized Animancer.AnimancerEvent.normalizedTimes.

Methods

Name Value Summary
Clone() AnimancerEvent.Sequence.Serializable
Creates a new Animancer.AnimancerEvent.Sequence.Serializable and copies the contents of this into it.
Clone(CloneContext) AnimancerEvent.Sequence.Serializable
Creates a new object with the same type and values this.
CopyFrom(AnimancerEvent.Sequence.Serializable) void
GetEventsOptional() AnimancerEvent.Sequence
Returns the runtime Animancer.AnimancerEvent.Sequence compiled from this Animancer.AnimancerEvent.Sequence.Serializable. Each call after the first will return the same reference.
GetInvoke(IInvokable) Action
Returns the Animancer.IInvokable.Invoke if the `invokable` isn't null. Otherwise, returns null.
static
GetNormalizedEndTime(float) float
Returns the Animancer.AnimancerEvent.normalizedTime of the Animancer.AnimancerEvent.Sequence.EndEvent.
SetNormalizedEndTime(float) void
Sets the Animancer.AnimancerEvent.normalizedTime of the Animancer.AnimancerEvent.Sequence.EndEvent.

Operators

Name Value Summary
implicit operator AnimancerEvent.Sequence(AnimancerEvent.Sequence.Serializable) AnimancerEvent.Sequence