예제 #1
0
    public void InstantiateComboUI()
    {
        int c = CircleController.getComboCounter();

        if (c == ScoreManager.TWO_TIMES_COMBO_LIMIT + 1)
        {
            twoTimesCombo.SetActive(true);
            StartCoroutine(deactivateObjectAfterAnAmountOfTime(twoTimesCombo, 1.5f));
        }
        else if (c == ScoreManager.THREE_TIMES_COMBO_LIMIT + 1)
        {
            threeTimesCombo.SetActive(true);
            StartCoroutine(deactivateObjectAfterAnAmountOfTime(threeTimesCombo, 1.5f));
        }
    }
예제 #2
0
 public void incrementDiamond()
 {
     CircleController.incrementComboCounter();
     counterChecker(CircleController.getComboCounter(), 8);          // gets the comboCounter data from the Blue/Red/Green checkers
 }