Exemple #1
0
    //Correct Hit
    public void OnCorrectHit()
    {
        //Update Tree UI
        logsLeftText.text = currTree.GetPartsLeft().ToString();
        if (inRageMode)
        {
            myLumberJack.RageHit();
            return;
        }

        currRageAmount += rageChargePerHit;

        if (currRageAmount >= 1) //Activate Rage
        {
            currRageAmount = 1;
            ActivateRageMode();
        }
    }