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