Class PopupText
Popup text for notifications, etc.
Inherited Members
Namespace: DaggerfallWorkshop.Game.UserInterface
Assembly: Assembly-CSharp.dll
Syntax
public class PopupText : Panel, IDisposable
Constructors
| Improve this Doc View SourcePopupText()
Declaration
public PopupText()
Methods
| Improve this Doc View SourceAddText(TextFile.Token[], Single)
Add text from tokens with a custom delay.
Declaration
public void AddText(TextFile.Token[] tokens, float delayInSeconds)
Parameters
Type | Name | Description |
---|---|---|
TextFile.Token[] | tokens | Tokens. One line added per text token. |
Single | delayInSeconds | Delay per line. |
AddText(String, Single)
Adds text with custom delay. Delay affects this item only. Subsequent text items can override delay. Delay will return to default after time elapsed.
Declaration
public void AddText(string text, float delayInSeconds = 1F)
Parameters
Type | Name | Description |
---|---|---|
String | text | Text to display. |
Single | delayInSeconds | Time in seconds before removing text. |
Draw()
Declaration
public override void Draw()
Overrides
| Improve this Doc View SourceUpdate()
Declaration
public override void Update()