Skip to content

AnimationStateMachine.RemoveStateEnterCallback Method

Definition

Namespace: Brine2D.Animation

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

AnimationStateMachine.RemoveStateEnterCallback\(string\) Method

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

C#
public bool RemoveStateEnterCallback(string stateName);

Parameters

stateName System.String

Returns

System.Boolean

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

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

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

Parameters

stateName System.String

callback System.Action<System.String>

Returns

System.Boolean