Esempio n. 1
0
 //Starts the death of the mov
 public void killMob()
 {
     //Firstly while the mob dies we should hold the player
     PlayerController.hold();
     //We then remove the player from the enviroment
     EnviromentMap.removeEnviroment(transform.position.x, transform.position.y, transform.position.z);
     //The death animation is then triggered
     isDying = true;
 }