/*******************************************************************/ public void BuildDeckCards() { foreach (string cardId in DeckCards) { object[] args = new object[] { cardId }; DeckCardView cardView = diContainer.InstantiatePrefabForComponent <DeckCardView>(cardPrefab, cardZone, args); SetCard(cardView); } }
private void SetXp(DeckCardView cardView) { int xpCost = xpInteractor.XpPayCost(cardView.Id, investigatorSelectorManager.InvestigatorSelected); cardView.SetXpCost(xpCost); }