AnimancerEvent.Sequence.

AnimancerEvent.

AddCallbacks(StringReference, Action) Method

Summary

[Pro-Only] Adds the specified `callback` to every event with the specified `name` and returns the `callback` if any events were found in case it needs to be removed later. Otherwise, this method returns null.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerEvent.Sequence

Syntax

public Action AddCallbacks(StringReference name, Action callback)

Parameters

Name Type Description
name StringReference
callback Action

Return Value

Type Description
Action

See Also

  • Animancer.AnimancerEvent.Sequence.AddCallback(Animancer.StringReference,System.Action)
  • Animancer.AnimancerEvent.Sequence.IndexOf(Animancer.StringReference,System.Int32)