public override void Draw(GameTime gameTime, SpriteBatch spriteBatch) { base.Draw(gameTime, spriteBatch); _buttonTextComponent?.Draw(gameTime, spriteBatch); _guiImageComponent?.Draw(gameTime, spriteBatch); DrawDebugBox(spriteBatch, BoundingBoxParentOffset, new Vector2(), Color.Red); }
public override void Draw(GameTime gameTime, SpriteBatch spriteBatch) { base.Draw(gameTime, spriteBatch); _guiImageComponent.Draw(gameTime, spriteBatch); }