예제 #1
0
    private void Start()
    {
        PlayerSelectable initialSelectable = selectables.Get(selectedType);

        initialSelectable.SetActive();
        initialSelectable.Select();
    }
예제 #2
0
 public void Inject(PlayerUnitDI di)
 {
     selectable = di.selectable;
     foreach (IPlayerUnitState state in GetStates())
     {
         state.Inject(di);
     }
 }