Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Texture2D texture;
- SpriteFont font;
- Model model;
- protected override void LoadContent()
- {
- // Load a texture, a font and a model
- this.texture = this.Game.Content.Load<Texture2D>("wall");
- this.font = this.Game.Content.Load<SpriteFont>("my_arial");
- this.model = this.Game.Content.Load<Model>("big_dude");
- }
Advertisement
Add Comment
Please, Sign In to add comment