Beispiel #1
0
 public void ResetPlayer()
 {
     _isDying = false;
     StopPlayer();
     SetStartPosition();
     EnableChildColliders();
     playerLives = GetPlayerMaxLives();
     playerRigidBody.bodyType = RigidbodyType2D.Dynamic;
     UpdatePlayerLiveContainers();
     playerGun.ResetPlayerGun();
     StartAutoShield();
 }