AnimancerEvent.

AnimancerEvent.Parameter<T> Class

Summary

Base class for Animancer.IInvokables which assign the Animancer.AnimancerEvent.CurrentParameter.
graph BT Type-->Base0["Object"] Type-.->Interface0["AnimancerEvent.IParameter"] click Interface0 "/animancer/api/Animancer/IParameter" Type-.->Interface1["IInvokable"] click Interface1 "/animancer/api/Animancer/IInvokable" Type-.->Interface2["IPolymorphic"] click Interface2 "/animancer/api/Animancer/IPolymorphic" Type["AnimancerEvent.Parameter<T>"] class Type type-node Derived0["AnimancerEvent.ParameterBoxed<T>"]-->Type click Derived0 "/animancer/api/Animancer/ParameterBoxed_1" Derived1["AnimancerEvent.ParameterString"]-->Type click Derived1 "/animancer/api/Animancer/ParameterString" Derived2["AnimancerEvent.ParameterObject"]-->Type click Derived2 "/animancer/api/Animancer/ParameterObject"

Syntax

public abstract class AnimancerEvent.Parameter<T> : AnimancerEvent.IParameter, IInvokable, 
    IPolymorphic

Remarks

Inherit from Animancer.AnimancerEvent.ParameterBoxed`1 instead of this if T is a value type to avoid repeated boxing costs.

Type Parameters

Name Description
T

Properties

Name Value Summary
Value T
[UnityEngine.SerializeField] The serialized T.

Methods

Name Value Summary
Invoke() void
Executes the main function of this object.