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.

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.

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

Parameters

stateName System.String

callback System.Action<System.String>

Returns

System.Boolean