Ejemplo n.º 1
0
    public void DealDamage(int damage)
    {
        playerHealthScript.playerHealth = playerHealthScript.playerHealth - damage;

        playerHealthScript.CheckHealth();
    }