void Select(UnitTypeCard card) { if (SelectedCard != null) { SelectedCard.GetDeselected(cardColors.normal); } SelectedCard = card; SelectedCard.GetSelected(cardColors.selected); }
void Spawn(UnitTypeCard card, Vector3 screenPos) { pus.SpawnInCell(pi.GetCellUnder(screenPos), card.Type); }