예제 #1
0
 public void Death()
 {
     //TODO: DO the rest of the stuff for the death, animation, and show title
     spawner.Spawn();
     inventoryUI.SetActive(true);
     Destroy(this.gameObject);
 }
예제 #2
0
 public void PlayGame()
 {
     //Play Game setup
     cam.SetActive(false);
     playerSpawn.Spawn();
     nonMMObject.SetActive(true);
     idScript.gameStarted = true;
     this.gameObject.SetActive(false);
 }