Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Backspace()

void Terraria.GameContent.UI.Elements.UITextBox.Backspace ( )
inline

Definition at line 50 of file UITextBox.cs.

51 {
52 if (_cursor != 0)
53 {
54 SetText(base.Text.Substring(0, base.Text.Length - 1));
55 }
56 }
override void SetText(string text, float textScale, bool large)
Definition UITextBox.cs:31

References Terraria.GameContent.UI.Elements.UITextBox._cursor, and Terraria.GameContent.UI.Elements.UITextBox.SetText().

Referenced by Terraria.GameContent.UI.States.UIVirtualKeyboard.UIVirtualKeyboard().