简体   繁体   English

适用于通用Windows平台的MonoGame跨平台条件编译符号

[英]MonoGame Cross-Platform Conditional Compilation Symbol for Universal Windows Platform

Just trying to find the correct Cross-Platform conditional compilation symbol for UWP applications. 仅尝试为UWP应用程序找到正确的跨平台条件编译符号。 If found this thread: 如果找到此线程:

https://gamedev.stackexchange.com/questions/55657/monogame-cross-platform-conditional-compilation-symbols https://gamedev.stackexchange.com/questions/55657/monogame-cross-platform-conditional-compilation-symbols

but it doesn't seem to list the UWP apps. 但似乎没有列出UWP应用。

the answer to this question is: 这个问题的答案是:

#if WINDOWS_UAP
    using Windows.Storage;
#endif

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM