Hi all,
Is it possible in Unity 3.1 to add a custom #if MY_LITE_VERSION
I d like to use this for differentiating the lite version from the paid version of a game.
Stephane
Hi all,
Is it possible in Unity 3.1 to add a custom #if MY_LITE_VERSION
I d like to use this for differentiating the lite version from the paid version of a game.
Stephane
Not without quite some tinkering, headache and messing with the global build script for unity, so reasonably, “no”
At least if you wanted it project wide.
if you want it just for one code file you can use #define …
I am by no means an expert in Unity, but couldn’t use create the preprocessor definition in the xcode project, and then when you use the objective-c plugin structure it would recognize the definition? I haven’t had the need for plugins yet so this could be completely off base.
No, the objc stuff does not even touch the .NET compilation step at all.
The moment you are on the obj-c side or anything related to it, the whole code you have in the project was compiled down to an arm static library already