Exemplo n.º 1
0
 public void RespawnPlayer()
 {
     _respawnEvent?.Invoke();
     _currentRespawnPoint.PlayOpenDoor();
     Instantiate(_playerPrefab, _currentRespawnPoint.transform.position, Quaternion.identity);
 }