#if UNITY_IPHONE_ADVANCED

What is the command to check if you are running under Unity iPhone Basic/Advanced. I know how to check unity iphone:

#if UNITY_IPHONE

But is there a way to check for unity iphone advanced or basic?

Thats no “check” per se. That code is run at compile time not runtime.

And no there is no way to detect if it is advanced or basic.

I guess you want it for DLLImport checking? If thats the case you can use an own define at the top like

#define isAdvanced

and then check for that whereever you need to switch between DLLImport and PlayerPrefs handling. The user then has to set that though but thats a one time per project thing

ok thanks

cant stop looking at your avatar