Version: 2023.1
public static void SetArchitecture (Build.NamedBuildTarget buildTarget, int architecture);
Obsolete public static void SetArchitecture (BuildTargetGroup targetGroup, int architecture);

参数

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

描述

Sets the architecture for the given build target.

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