SetState(DefaultState);
}
private void OnValidate()
{
public void SetState(string stateName)
State newState = States.FirstOrDefault(o => o.StateName == stateName);