IOwnedState<TState> Interface

Summary

A type of Animancer.FSM.IState`1 that knows which Animancer.FSM.StateMachine`1 it is used in so it can be used with various extension methods in Animancer.FSM.StateExtensions.
graph BT Type-.->Interface0["IState<TState>"] Type["IOwnedState<TState>"] class Type type-node Implementing0["LocomotionState"]-.->Type click Implementing0 "/animancer/api/Animancer.Examples.StateMachines.Brains/LocomotionState" Implementing1["CreatureState"]-.->Type click Implementing1 "/animancer/api/Animancer.Examples.StateMachines.Brains/CreatureState" Implementing2["LocomotionState"]-.->Type click Implementing2 "/animancer/api/Animancer.Examples.AnimatorControllers/LocomotionState" Implementing3["TimelineState"]-.->Type click Implementing3 "/animancer/api/Animancer.Examples.StateMachines.Platformer/TimelineState" Implementing4["FlinchState"]-.->Type click Implementing4 "/animancer/api/Animancer.Examples.AnimatorControllers.GameKit/FlinchState" Implementing5["AdvancedJumpState"]-.->Type click Implementing5 "/animancer/api/Animancer.Examples.StateMachines.Platformer/AdvancedJumpState" Implementing6["AttackState"]-.->Type click Implementing6 "/animancer/api/Animancer.Examples.StateMachines.Weapons/AttackState" Implementing7["DieState"]-.->Type click Implementing7 "/animancer/api/Animancer.Examples.AnimatorControllers.GameKit/DieState" Implementing8["RespawnState"]-.->Type click Implementing8 "/animancer/api/Animancer.Examples.AnimatorControllers.GameKit/RespawnState" Implementing9["EquipState"]-.->Type click Implementing9 "/animancer/api/Animancer.Examples.StateMachines.Weapons/EquipState" Implementing10["AttackState"]-.->Type click Implementing10 "/animancer/api/Animancer.Examples.StateMachines.Platformer/AttackState" Implementing11["JumpState"]-.->Type click Implementing11 "/animancer/api/Animancer.Examples.StateMachines.Platformer/JumpState" Implementing12["AirborneState"]-.->Type click Implementing12 "/animancer/api/Animancer.Examples.AnimatorControllers.GameKit/AirborneState" Implementing13["IdleState"]-.->Type click Implementing13 "/animancer/api/Animancer.Examples.AnimatorControllers.GameKit/IdleState" Implementing14["AttackState"]-.->Type click Implementing14 "/animancer/api/Animancer.Examples.AnimatorControllers.GameKit/AttackState" Implementing15["LandingState"]-.->Type click Implementing15 "/animancer/api/Animancer.Examples.AnimatorControllers.GameKit/LandingState" Implementing16["CreatureState"]-.->Type click Implementing16 "/animancer/api/Animancer.Examples.AnimatorControllers.GameKit/CreatureState" Implementing17["LocomotionState"]-.->Type click Implementing17 "/animancer/api/Animancer.Examples.AnimatorControllers.GameKit/LocomotionState" Implementing18["CreatureState"]-.->Type click Implementing18 "/animancer/api/Animancer.Examples.StateMachines.Platformer/CreatureState" Implementing19["IdleState"]-.->Type click Implementing19 "/animancer/api/Animancer.Examples.StateMachines.Platformer/IdleState" Implementing20["IdleState"]-.->Type click Implementing20 "/animancer/api/Animancer.Examples.StateMachines.Brains/IdleState" Implementing21["DieState"]-.->Type click Implementing21 "/animancer/api/Animancer.Examples.StateMachines.Platformer/DieState"

Syntax

public interface IOwnedState<TState> : IState<TState> where TState : class, IState<TState>

Type Parameters

Name Description
TState

Properties

Name Value Summary
OwnerStateMachine StateMachine<TState>
The Animancer.FSM.StateMachine`1 that this state is used in.