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
-
- ICloneable
<AnimancerEvent .Sequence >.Serializable - I
Serialization Callback Receiver
- ICloneable
- 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
Attributes
| Type | Description |
|---|---|
| Serializable |
Properties
| Name | Value | Summary |
|---|---|---|
| Callbacks | IInvokable[] |
[
UnityEngine.SerializeField] The serialized Animancer.AnimancerEvent.callbacks. |
| Events | AnimancerEvent |
The runtime
Animancer.AnimancerEvent.Sequence compiled from this Animancer.AnimancerEvent.Sequence.Serializable.
Each call after the first will return the same reference.
|
| InitializedEvents | AnimancerEvent |
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 |
|---|---|---|
| AddEvent |
int |
Adds an event to the serialized fields.
|
| Clear |
void |
Removes all events.
|
| Clone |
AnimancerEvent |
Creates a new
Animancer.AnimancerEvent.Sequence.Serializable and copies the contents of this into it. |
| Clone |
AnimancerEvent |
Creates a new object with the same type and values this.
|
| CopyFrom |
void | |
| GetEventsOptional |
AnimancerEvent |
Returns the runtime
Animancer.AnimancerEvent.Sequence compiled from this Animancer.AnimancerEvent.Sequence.Serializable.
Each call after the first will return the same reference.
|
| GetInvoke |
Action |
Returns the
Animancer.IInvokable.Invoke if the `invokable` isn't null.
Otherwise, returns null.
static
|
| GetNormalizedEndTime |
float |
Returns the
Animancer.AnimancerEvent.normalizedTime of the Animancer.AnimancerEvent.Sequence.EndEvent. |
| RemoveEvent |
void |
Removes an event from the serialized fields.
|
| SetEndCallback |
void |
Sets the
Animancer.AnimancerEvent.callback of the Animancer.AnimancerEvent.Sequence.EndEvent. |
| SetEndEvent |
void |
Sets the data of the
Animancer.AnimancerEvent.Sequence.EndEvent. |
| SetNormalizedEndTime |
void |
Sets the
Animancer.AnimancerEvent.normalizedTime of the Animancer.AnimancerEvent.Sequence.EndEvent. |
Operators
| Name | Value | Summary |
|---|---|---|
| implicit operator |
AnimancerEvent |