Пример #1
0
 private void SetCard(CardView cardView)
 {
     cardImagePresenter.SetCardImage(cardView);
     cardsManager.AddCard(cardView.Id, cardView);
 }
Пример #2
0
        /*******************************************************************/
        public Tween ChangeImagesWithAnimation(string cardId)
        {
            CardView cardView = cardsManager.GetCard(cardId);

            return(dotweenService.SwapImage(cardView.transform, () => SetCardImage(cardView)));
        }
Пример #3
0
 public void AddCard(string cardId, CardView cardView) => cards.Add(cardId, cardView);