void Death(PlayerLife player) { //animação e audio de morte playerEffects.OnDeath(); player.gameObject.SetActive(false); player.transform.position = initialPosition; }
void Death(PlayerLife player) { //animação e audio de morte playerEffects.OnDeath(); player.gameObject.SetActive(false); player.transform.position = initialPosition; }