示例#1
0
 public void EndDialog()
 {
     dialogIsInitialised = false;
     currentDialogDisplayer.CloseDialog();
     player.GetComponent <PlayerMovement>().EnableControl();
     currentDialog = null;
 }
示例#2
0
 private void EndDialog()
 {
     dialogIsInitiated = false;
     currentDialogDisplayer.CloseDialog();
     if (currentDialog.IsChangingSceneDialog)
     {
         var endingDialog = GameObject.FindGameObjectWithTag("EndingScene").GetComponent <EndingSceneDialog>();
         if (endingDialog != null)
         {
             endingDialog.NextScene();
         }
     }
     player.GetComponent <Player_Move_Prot>().EnableControl();
 }