コード例 #1
0
 void EndDialogue()
 {
     animator.SetBool("isOpen", false);
     player.setNoEnemies(false);
     shooting.setShoot(true);
     player.setStopMovement(true);
 }
コード例 #2
0
 public void TriggerDialogue()
 {
     //Time.timeScale = 0f;
     player   = (MovementScript)GameObject.FindWithTag("Player").GetComponent(typeof(MovementScript));
     shooting = (GunFire)GameObject.FindWithTag("Player").GetComponent(typeof(GunFire));
     player.setNoEnemies(true);
     shooting.setShoot(false);
     player.setStopMovement(false);
     FindObjectOfType <DialogueManager>().StartDialogue(conversation.conversation, isExitDialogue);
 }