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

◆ DrawSelf()

override void Terraria.GameContent.UI.Elements.UITextPanel< T >.DrawSelf ( SpriteBatch spriteBatch)
inlineprotectedvirtual

Reimplemented from Terraria.GameContent.UI.Elements.UIPanel.

Definition at line 106 of file UITextPanel.cs.

107 {
108 if (_drawPanel)
109 {
110 base.DrawSelf(spriteBatch);
111 }
112 DrawText(spriteBatch);
113 }
void DrawText(SpriteBatch spriteBatch)

References Terraria.GameContent.UI.Elements.UITextPanel< T >._drawPanel, and Terraria.GameContent.UI.Elements.UITextPanel< T >.DrawText().