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.
public bool RemoveStateExitCallback(string stateName);
Parameters¶
stateName System.String
Returns¶
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.
public bool RemoveStateExitCallback(string stateName, System.Action<string?> callback);
Parameters¶
stateName System.String
callback System.Action<System.String>