AnimancerEvent.Sequence.

AnimancerEvent.

SetCallback(StringReference, Action) Method

Summary

[Pro-Only] Replaces the Animancer.AnimancerEvent.callback of the event with the specified `name`.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerEvent.Sequence

Syntax

[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void SetCallback(StringReference name, Action callback)

Attributes

Type Description
MethodImplAttribute

Parameters

Name Type Description
name StringReference
callback Action

Return Value

Type Description
void

See Also

  • Animancer.AnimancerEvent.Sequence.SetCallbacks(Animancer.StringReference,System.Action)
  • Animancer.AnimancerEvent.Sequence.IndexOfRequired(Animancer.StringReference,System.Int32)