简体   繁体   中英

MonoGame Cross-Platform Conditional Compilation Symbol for Universal Windows Platform

Just trying to find the correct Cross-Platform conditional compilation symbol for UWP applications. If found this thread:

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

but it doesn't seem to list the UWP apps.

the answer to this question is:

#if WINDOWS_UAP
    using Windows.Storage;
#endif

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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