Skip to content

AnimationStateMachine.RemoveStateExitCallback Method

Definition

Namespace: Brine2D.Animation

Overloads
RemoveStateExitCallback\(string\) Removes all exit callbacks registered for stateName. Returns true if any were registered.
RemoveStateExitCallback\(string, Action<string>\) Removes a specific exit callback previously registered for stateName. Returns true if the exact delegate was found and removed.

AnimationStateMachine.RemoveStateExitCallback\(string\) Method

Removes all exit callbacks registered for stateName. Returns true if any were registered.

C#
public bool RemoveStateExitCallback(string stateName);

Parameters

stateName System.String

Returns

System.Boolean

AnimationStateMachine.RemoveStateExitCallback\(string, Action\<string\>\) Method

Removes a specific exit callback previously registered for stateName. Returns true if the exact delegate was found and removed.

C#
public bool RemoveStateExitCallback(string stateName, System.Action<string?> callback);

Parameters

stateName System.String

callback System.Action<System.String>

Returns

System.Boolean