Version: 2022.1
public static int GetArchitecture (Build.NamedBuildTarget buildTarget);

参数

buildTarget The NamedBuildTarget.

返回

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

描述

Gets the architecture for the given build target.


public static int GetArchitecture (BuildTargetGroup targetGroup);

描述

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