Skip to content

Commit e6ea11c

Browse files
committed
Add ARM64 to build window
1 parent 7f07254 commit e6ea11c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Assets/MixedRealityToolkit/Utilities/BuildAndDeploy/BuildDeployWindow.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ private enum Architecture
3939
x86 = 0,
4040
x64 = 1,
4141
ARM = 2,
42+
#if UNITY_2019_1_OR_NEWER
43+
ARM64 = 3
44+
#endif // UNITY_2019_1_OR_NEWER
4245
}
4346

4447
private enum PlatformToolset
@@ -584,6 +587,12 @@ private void AppxBuildGUI()
584587
{
585588
buildArchitecture = Architecture.ARM;
586589
}
590+
#if UNITY_2019_1_OR_NEWER
591+
else if (currentArchitectureString.ToLower().Equals("arm64"))
592+
{
593+
buildArchitecture = Architecture.ARM64;
594+
}
595+
#endif // UNITY_2019_1_OR_NEWER
587596

588597
buildArchitecture = (Architecture)EditorGUILayout.EnumPopup("Build Platform", buildArchitecture, GUILayout.Width(HALF_WIDTH));
589598

0 commit comments

Comments
 (0)