Summary
[Animancer Extension]
Checks if the specified `state` is the
Animancer.FSM.StateMachine`1.CurrentState in its
Animancer.FSM.IOwnedState`1.OwnerStateMachine.
- Assembly
- Animancer
.dll - Namespace
- Animancer
.FSM - Containing Type
- StateExtensions
Syntax
public static bool IsCurrentState<TState>(this TState state)
where TState : class, IOwnedState<TState>
Type Parameters
| Name | Description |
|---|---|
| TState |
Parameters
| Name | Type | Description |
|---|---|---|
| state | TState |
Return Value
| Type | Description |
|---|---|
| bool |