Files
project-entity/Assets/_Project/Develop/Runtime/Utilities/StatesManagement/StateTransition.cs
2026-03-02 19:00:06 +05:00

17 lines
474 B
C#

using _Project.Develop.Runtime.Utilities.Conditions;
namespace Assets._Project.Develop.Runtime.Utilities.StateMachineCore
{
public class StateTransition<TState> where TState : class, IState
{
public StateTransition(StateNode<TState> toState, ICondition condition)
{
ToState = toState;
Condition = condition;
}
public StateNode<TState> ToState { get; }
public ICondition Condition { get; }
}
}