- Home /
Question by
Mike_Mitchley · Jun 09, 2020 at 08:55 PM ·
lives
Hi, i have a lives system for my player but every time it gets hit by an enemy it loses 2 lives and not 1 ?
public void Damage()
{
_lives--;
if (_lives < 1)
{
Destroy(this.gameObject);
}
}
Comment