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);
 }
Exemple #2
0
 public override void Draw(GameTime gameTime, SpriteBatch spriteBatch)
 {
     base.Draw(gameTime, spriteBatch);
     _guiImageComponent.Draw(gameTime, spriteBatch);
 }