Ejemplo n.º 1
0
    private void DecreaseHealth()
    {
        //fire laser at asteroid
        laser.FireAtTarget(asteroidObj.transform);

        //Debug.Log("Show Health");
        healthBar.enabled = true;
        applyDamage       = true;
        Debug.Log("Decrease Health");
    }