protected override void DrawSelf(SpriteBatch spriteBatch) { base.DrawSelf(spriteBatch); mainPanel.Draw(spriteBatch); buyButton.Draw(spriteBatch); }
protected override void DrawChildren(SpriteBatch spriteBatch) { if (!Terraria3D.Enabled) { return; } if (!Main.playerInventory && !InputTerraria3D.CameraControlsEnabled) { return; } if (InputTerraria3D.CameraControlsEnabled) { _controlsPanel.Draw(spriteBatch); _toggleControlsPanelButton.Draw(spriteBatch); } _editCameraIcon.Draw(spriteBatch); if (_editCameraIcon.ContainsPoint(Main.MouseScreen)) { _editCameraHoverTip.Draw(spriteBatch); } }