AnimancerEvent.Sequence.

AnimancerEvent.

RemoveCallback(StringReference, Action) Method

Summary

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

Syntax

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

Remarks

If the Animancer.AnimancerEvent.callback would become null, it is instead set to the Animancer.AnimancerEvent.DummyCallback since they are not allowed to be null.

Attributes

Type Description
MethodImplAttribute

Parameters

Name Type Description
name StringReference
callback Action

Return Value

Type Description
void

See Also

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