Beispiel #1
0
    public void Display(string question, string pveAns, string nveAns, IPromptButtonEventHandler event_handler)
    {
        StateManager.SetState(State.DialoguePrompt);
        MusicController.Current.SetVolume(0.25f);

        EventHandler = event_handler;
        DialogueBox.Show();
        DialogueBox.Write(question, this);
        DialogueBox.SetFace(PromptFace);

        PromptButtons.Write(pveAns, nveAns, this);
        PromptButtons.Hide();
    }
Beispiel #2
0
 public void Write(string pve, string nve, IPromptButtonEventHandler event_handler)
 {
     PveLabel.text = pve;
     NveLabel.text = nve;
     EventHandler  = event_handler;
 }