Beispiel #1
0
    protected override void showMessage()
    {
        GameObject message = ModalDialog.Create(description.text);

        foreach (Spell spell in spells)
        {
            Game.current.spells.Add(spell);
        }
        message.SetActive(true);
    }
Beispiel #2
0
 protected override void executeAction()
 {
     dialog = ModalDialog.Create(textAsset.text);
     dialog.SetActive(true);
 }
Beispiel #3
0
    protected virtual void showMessage()
    {
        var message = ModalDialog.Create("You found *potion*!");

        message.SetActive(true);
    }