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.
public static int GetArchitecture(BuildTargetGroup targetGroup)
Parameters
Returns
Type | Description |
|---|---|
| int |
GetArchitecture(NamedBuildTarget)
Gets the architecture for the given build target.
public static int GetArchitecture(NamedBuildTarget buildTarget)
Parameters
The NamedBuildTarget.
Returns
Type | Description |
|---|---|
| int | An integer value associated with the architecture of the build target. 0 - None, 1 - ARM64, 2 - Universal. |