private void Start() { PlayerSelectable initialSelectable = selectables.Get(selectedType); initialSelectable.SetActive(); initialSelectable.Select(); }
public void Inject(PlayerUnitDI di) { selectable = di.selectable; foreach (IPlayerUnitState state in GetStates()) { state.Inject(di); } }