Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetArchitecture

BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

GetArchitecture(BuildTargetGroup)

BuildTargetGroup is marked for deprecation in the future. Use NamedBuildTarget instead.
Warning
Deprecated. Use GetArchitecture(NamedBuildTarget buildTarget) instead
public static int GetArchitecture(BuildTargetGroup targetGroup)

Parameters

targetGroup

Returns

Type

Description

int

GetArchitecture(NamedBuildTarget)

Gets the architecture for the given build target.
public static int GetArchitecture(NamedBuildTarget buildTarget)

Parameters

Returns

Type

Description

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