- Home /
Question by
eezSZI · Mar 19, 2015 at 08:32 PM ·
editor-scriptingarchitectureplayersettingsarmv7
Find PlayerSettings Architecture (iOS) from Script
So I am able to find the ScriptingImplementation selected from an editor script:
ScriptingImplementation backend = (ScriptingImplementation)PlayerSettings.GetPropertyInt("ScriptingBackend", BuildTargetGroup.iOS);
How do I access the Architecture (ARMv7, ARM64, Universal)?
I tried "Architecture", "iPhoneArchitecture" and various others.
Comment
Best Answer
Answer by eezSZI · Mar 19, 2015 at 08:47 PM
Found the answer, I just had to specify the BuildTargetGroup. "Architecture" was the keyword:
PlayerSettings.GetPropertyInt("Architecture", BuildTargetGroup.iPhone)
Did you check Armv7 = 0 Arm64 = 1 Universal = 2 Is tihs right ?