OptionalWarning.

UselessEvent Field

Summary

An Animancer.AnimancerEvent called Animancer.AnimancerEvent.InvokeBoundCallback but there was no callback bound to its name. This may mean the event is useless and therefore should be removed to avoid wasting performance checking and invoking it.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
OptionalWarning

Syntax

UselessEvent

Remarks

Events in Transitions automatically call Animancer.AnimancerEvent.InvokeBoundCallback by default so this warning is triggered if you don't bind a callback to the event's name in the Animancer.AnimancerComponent.Events or use Animancer.AnimancerEvent.Sequence.SetCallback(System.Int32,System.Action) on the Transition's events.

Constant Value

Value Type
128 Int32