![]() ![]() #define directive for compiling/executing code specifically for Windows standalone applications. #define directive for compiling/executing code specifically for Mac OS X (including Universal, PPC and Intel architectures). ![]() #define directive for Editor code on Mac OS X. ![]() #define directive for Editor code on Windows. #define directive for calling Unity Editor scripts from your game code. The platform #define directives that Unity supports for your scripts are as follows: Property: You can run this code within the Unity Editor, so you can compile the code specifically for your target platform and test it in the Editor! Platform #define directives This consists of some preprocessor directives that let you partition your scripts to compile and execute a section of code exclusively for one of the supported platforms. Unity includes a feature called Platform Dependent Compilation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |