Пример #1
0
    private void SetImage(Card card)
    {
        ImageDisplay.GetRankImage(card);

        smallShape1.sprite = ImageDisplay.GetSuitImage(card);
        smallShape2.sprite = ImageDisplay.GetSuitImage(card);

        bigShape.sprite = ImageDisplay.GetSuitImage(card);

        number1.sprite = ImageDisplay.GetRankImage(card);
        number2.sprite = ImageDisplay.GetRankImage(card);
    }
Пример #2
0
    public void SetPlayingCardPopUp()
    {
        isPlayingCardPopUp = true;

        Card card = cardManager.GetCurrentPlayingCard();

        PlayingSuitImage.sprite  = ImageDisplay.GetSuitImage(card);
        PlayingRankImage1.sprite = ImageDisplay.GetRankImage(card);
        PlayingRankImage2.sprite = ImageDisplay.GetRankImage(card);

        PlayingCardPopUp.SetActive(true);
    }