protected BaseEntityState(EntityBehavioursFsm fsm) { if (fsm == null) { throw new ArgumentException( $"Can't create {typeof(BaseEntityState)} with a null {typeof(EntityBehavioursFsm)}."); } Fsm = fsm; }
protected virtual void Awake() { Fsm = CreateEntityFsm(); Fsm.Initialize(); }