Summary
An
Animancer.FSM.IState
that knows which Animancer.FSM.StateMachine`1
it is used in.- Assembly
- Animancer
.dll - Namespace
- Animancer
.FSM - Interfaces
- Implementing Types
Syntax
public interface IOwnedState<TState> : IState where TState : class, IState
Remarks
The
Animancer.FSM.StateExtensions
class contains various extension methods for this interface.
Documentation:
Owned States
Type Parameters
Name | Description |
---|---|
TState |
Properties
Name | Value | Summary |
---|---|---|
OwnerStateMachine | StateMachine |
The
Animancer.FSM.StateMachine`1 that this state is used in. |
Extension Methods
Name | Value | Summary |
---|---|---|
GetNextState |
TState |
[Animancer Extension] Returns the
Animancer.FSM.StateChange`1.NextState .From StateExtensions
|
GetPreviousState |
TState |
[Animancer Extension] Returns the
Animancer.FSM.StateChange`1.PreviousState .From StateExtensions
|