爲什麼在這個程序中沒有標識png文件?
public class Game1 : Microsoft.Xna.Framework.Game
{
GraphicsDeviceManager graphics;
SpriteBatch spriteBatch;
Texture2D box;
}
//這部分顯示錯誤,說明未識別下一個。
protected override void LoadContent()
{
spriteBatch = new SpriteBatch(GraphicsDevice);
box = Content.Load<Texture2D>("next");
}