AnimancerEvent.

AnimancerEvent.ParameterBoxed<T> Class

Summary

An Animancer.AnimancerEvent.Parameter`1s which internally boxes value types to avoid re-boxing them every Animancer.AnimancerEvent.ParameterBoxed`1.Invoke.
graph BT Type-->Base0["AnimancerEvent.Parameter<T>"] Base0-->Base1["Object"] Type-.->Interface0["IInvokable"] click Interface0 "/animancer/api/Animancer/IInvokable" Type-.->Interface1["IPolymorphic"] click Interface1 "/animancer/api/Animancer/IPolymorphic" Type-.->Interface2["AnimancerEvent.IParameter"] click Interface2 "/animancer/api/Animancer/IParameter" Type-.->Interface3["ISerializationCallbackReceiver"] Type["AnimancerEvent.ParameterBoxed<T>"] class Type type-node Derived0["AnimancerEvent.ParameterFloat"]-->Type click Derived0 "/animancer/api/Animancer/ParameterFloat" Derived1["AnimancerEvent.ParameterDouble"]-->Type click Derived1 "/animancer/api/Animancer/ParameterDouble" Derived2["AnimancerEvent.ParameterBool"]-->Type click Derived2 "/animancer/api/Animancer/ParameterBool" Derived3["AnimancerEvent.ParameterInt"]-->Type click Derived3 "/animancer/api/Animancer/ParameterInt" Derived4["AnimancerEvent.ParameterLong"]-->Type click Derived4 "/animancer/api/Animancer/ParameterLong"

Syntax

public abstract class AnimancerEvent.ParameterBoxed<T> : AnimancerEvent.Parameter<T>, IInvokable, 
    IPolymorphic, AnimancerEvent.IParameter, ISerializationCallbackReceiver
    where T : struct

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.