我正在尝试在Monogame程序中绘制文本。我想使用SpriteFont来做到这一点,但是当我尝试加载SpriteFont时出现以下错误。错误 - 未实现SpriteFont
//Here I try to load the SpriteFont
//It is kept in the "Content/fonts" folder, with "Content" as the Content.RootDirectory
Font = Content.Load<SpriteFont>("fonts/SpriteFont1");
//I then get this error
An unhandled exception of type 'System.NotImplementedException' occurred in MonoGame.Framework.dll
Additional information: The method or operation is not implemented.
将SpriteFont1构建操作设置为“Content”,并将其复制到输出目录为“始终复制”。 SpriteFont1.xnb文件位于Content文件夹中,具有相同的设置。我如何解决这个错误,以便我可以加载SpriteFont?
方法没有实现。这可能在Mono库中。堆栈跟踪将显示哪种方法。 – 2015-01-26 23:31:40
我编辑了你的标题。请参阅:“[应该在其标题中包含”标签“](http://meta.stackexchange.com/questions/19190/)”,其中的共识是“不,他们不应该”。 – 2015-01-27 00:33:13