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