Exemplo n.º 1
0
    public void ReturnComboZero()
    {
        ScoreManager.ComboScore   = 0;
        ScoreManager.HighestCombo = 0;
        tempCombo = 0;

        highestComboText.text = $"콤보 최고기록 : {ScoreManager.HighestCombo}";
        uiManager.SetUIComboScore(ScoreManager.ComboScore);
    }
Exemplo n.º 2
0
    public void SetCombo(int combo = 1)
    {
        ComboScore = combo != 0 ? ComboScore + 1 : 0;
        if (ComboScore > HighestCombo)
        {
            HighestCombo = ComboScore;
        }

        uiManager.SetUIComboScore(ComboScore);
    }