PlayerSettings.GetArchitecture

Switch to Manual

Declaration

public static int GetArchitecture(Build.NamedBuildTarget buildTarget);

Parameters

buildTarget The NamedBuildTarget.

Returns

int An integer value associated with the architecture of the build target. 0 - None, 1 - ARM64, 2 - Universal.

Description

Gets the architecture for the given build target.


Obsolete Use GetArchitecture(NamedBuildTarget buildTarget) instead.

Declaration

public static int GetArchitecture(BuildTargetGroup targetGroup);

Description

BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.


Did you find this page useful? Please give it a rating: