private void Update() { if (Input.GetKeyDown(KeyCode.Space)) { //show dia _view.Show(); } if (Input.GetKeyDown(KeyCode.Q)) { //display dia 1 _view.Display(_dialogueOne); } if (Input.GetKeyDown(KeyCode.W)) { //display dia 2 _view.Display(_dialogueTwo); } if (Input.GetKeyDown(KeyCode.Z)) { //hide dia _view.Hide(); } }
private void ReloadDialogue_Button_Click(object sender, RoutedEventArgs e) { DialogueView.Display(); }