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