예제 #1
0
    public float Damage(float damage)
    {
        if ((1 << this.gameObject.layer) == playerLayerMask)
        {
            activateScreenShake.Activator(this);
        }

        return(this.currentHealth -= damage);
    }