コード例 #1
0
    public void ConfirmMove()
    {
        cards.Add(activeCard);
        activeCard.Confirm();
        GameManager.score += GetCardScore();
        scoreText.text     = "Score: " + GameManager.score.ToString();
        activeCard.ResetCenterText();

        activeCard = null;

        confirmButton.interactable = false;
        rotateButton.gameObject.SetActive(false);

        UpdateAvailableSpots();
    }