コード例 #1
0
 private void Die()
 {
     isDead = true;
     Invoke("MoveToLastCheckPoint", 2);
     GameVariables.EnableWeapons();
     //Restart of the scene 15.12.2018 - removed due to change of respawn concept
     //SceneManager.LoadScene(SceneManager.GetActiveScene().name);
     FullMana();
     FullHealth();
 }