2
因此衆所周知,在使用遊戲對象的GraphicsDevice之前,您應該調用遊戲的base.Initialize()?這就是我通過在線閱讀大量教程而得到的結果。XNA - GraphicsDevice初始化混淆
顯然,這不是創建遊戲的GraphicDevice那裏,因爲我能夠base.Initalize()這樣的前使用它...
protected override void Initialize()
{
// TODO: Add your initialization logic here
// I use the game's GraphicsDevice in here to create a
// SpriteBatch, BasicEffect, ect. and it's VALID
Engine.Initialize();
base.Initialize();
}
什麼魔法Game.Run()是發生在那會初始化GraphicDevice?