Ejemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     thePlayer.gameObject.GetComponent <ConfidenceManager>().ChangeConfidence(-1);
     thePlayer.canMove = false;
     if (startCutScene)
     {
         if (dMan.dialogEnded)
         {
             thePlayer.gameObject.GetComponent <PlayerHealth> ().BarelyAlive();
             thePlayer.gameObject.GetComponent <WeaponController> ().setBrokenSword();
             Application.LoadLevel("Troll_Arena_after");
             thePlayer.startPoint = "PlayerStart";
             fading.startFadeIn();
         }
     }
 }