public override void OnInteract() { if (TextToShow != "") { DialogeBox.Show(TextToShow, false, Freeze); } else if (alternateText.text != "") { DialogeBox.Show(alternateText.text, true, Freeze); } }
public override void Triggered() { if (text != "") { DialogeBox.Show(text, false, Freeze); } else { DialogeBox.Show(asset.text, true, Freeze); } base.Triggered(); }