XNA - 扫描内容名称
有没有办法扫描 Windows Phone 上 XNA 中特定游戏内容文件夹中的所有文件名? 据我所知Windows Phone仅支持IsolatedStorage并且游戏内容不存储在那里。
眼电图
Is there a way to scan all file names in specyfic game content folder in XNA on Windows Phone?
As far as I know Windows Phone supports only IsolatedStorage and game content is not stored there.
EOG
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
内容文件存储在XAP 中。显然您可以访问 XAP 中的文件,但无法迭代它。但是,由于无法从您的应用程序修改 XAP,因此您应该已经知道其中的所有文件。您有理由想要扫描它吗?如果您想出于设计时的目的扫描它,那么来自
The content files are stored in the XAP. Obviously you can access the files in the XAP, but you can't iterate through it. However, since the XAP can't be modified from your app, you should already know all the files that are in there. Is there a reason you want to scan it? If you want to scan it for design-time purposes, then the answer from this post might help.