private void OnTriggerEnter2D(Collider2D collision) { if (!dead) { sr.enabled = false; ps.Play(); playSounds.PlayPling(); dead = true; } }
private void OnTriggerEnter2D(Collider2D collision) { if (!dead) { sr.enabled = false; ps.Play(); playSounds.PlayPling(); dead = true; } }