Esempio n. 1
0
    public void DisplayCardText()
    {
        UnpackChoices();

        string[] descriptions = cardDescriptions.ToArray();
        choice1.GetComponentInChildren <Text>().text = descriptions [0];
        choice2.GetComponentInChildren <Text>().text = descriptions [1];
        choice3.GetComponentInChildren <Text>().text = descriptions [2];
        choice4.GetComponentInChildren <Text>().text = descriptions [3];

        questionText.text = cardChoiceHandler.currentCard.cardText;

        playerHandler.CreatePlayerStatsString();
        playerStatsText.text = playerStats;
    }