Skip to content

Commit 2702445

Browse files
committed
apply MRTK project settings
1 parent dd268ae commit 2702445

4 files changed

Lines changed: 39 additions & 8 deletions

File tree

MSBuildForUnity.Common.props

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<Project>
2+
<PropertyGroup>
3+
<MSBuildForUnityVersion>0.8.3</MSBuildForUnityVersion>
4+
5+
<MSBuildForUnityGeneratedOutputDirectory>D:\work\1.Tools\MRTKExtensionForOculusQuest\MSBuild\Projects</MSBuildForUnityGeneratedOutputDirectory>
6+
<UnityProjectAssetsPath>D:\work\1.Tools\MRTKExtensionForOculusQuest\Assets</UnityProjectAssetsPath>
7+
<MSBuildForUnityDefaultOutputPath>$(UnityProjectAssetsPath)\Dependencies</MSBuildForUnityDefaultOutputPath>
8+
9+
<UnityCurrentPlatform>Android</UnityCurrentPlatform>
10+
<UnityCurrentTargetFramework>netstandard2.0</UnityCurrentTargetFramework>
11+
12+
<UnityMajorVersion>2018</UnityMajorVersion>
13+
<UnityMinorVersion>4</UnityMinorVersion>
14+
</PropertyGroup>
15+
16+
<Target Name="_RemoveOutputDirectory" AfterTargets="Clean">
17+
<RemoveDir Directories="$(OutputPath)" />
18+
</Target>
19+
</Project>

Packages/manifest.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
2+
"scopedRegistries": [
3+
{
4+
"name": "MS Build for Unity",
5+
"url": "https://pkgs.dev.azure.com/UnityDeveloperTools/MSBuildForUnity/_packaging/UnityDeveloperTools/npm/registry",
6+
"scopes": [
7+
"com.microsoft"
8+
]
9+
}
10+
],
211
"dependencies": {
12+
"com.microsoft.msbuildforunity": "0.8.3",
313
"com.unity.ads": "2.0.8",
414
"com.unity.analytics": "3.2.2",
515
"com.unity.collab-proxy": "1.2.15",

ProjectSettings/ProjectSettings.asset

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ PlayerSettings:
4646
defaultScreenHeight: 768
4747
defaultScreenWidthWeb: 960
4848
defaultScreenHeightWeb: 600
49-
m_StereoRenderingPath: 0
49+
m_StereoRenderingPath: 2
5050
m_ActiveColorSpace: 0
5151
m_MTRendering: 1
5252
m_StackTraceTypes: 010000000100000001000000010000000100000001000000
@@ -160,7 +160,7 @@ PlayerSettings:
160160
Standalone: com.oculus.UnitySample
161161
buildNumber: {}
162162
AndroidBundleVersionCode: 1
163-
AndroidMinSdkVersion: 23
163+
AndroidMinSdkVersion: 24
164164
AndroidTargetSdkVersion: 0
165165
AndroidPreferredInstallLocation: 0
166166
aotOptions:
@@ -175,7 +175,7 @@ PlayerSettings:
175175
StripUnusedMeshComponents: 1
176176
VertexChannelCompressionMask: 4054
177177
iPhoneSdkVersion: 988
178-
iOSTargetOSVersionString: 9.0
178+
iOSTargetOSVersionString: 11.0
179179
tvOSSdkVersion: 0
180180
tvOSRequireExtendedGameController: 0
181181
tvOSTargetOSVersionString: 9.0
@@ -400,7 +400,7 @@ PlayerSettings:
400400
openGLRequireES31AEP: 0
401401
m_TemplateCustomTags: {}
402402
mobileMTRendering:
403-
Android: 1
403+
Android: 0
404404
iPhone: 1
405405
tvOS: 1
406406
m_BuildTargetGroupLightmapEncodingQuality: []
@@ -411,7 +411,7 @@ PlayerSettings:
411411
enableInternalProfiler: 0
412412
logObjCUncaughtExceptions: 1
413413
enableCrashReportAPI: 0
414-
cameraUsageDescription:
414+
cameraUsageDescription: Required for augmented reality support.
415415
locationUsageDescription:
416416
microphoneUsageDescription:
417417
switchNetLibKey:
@@ -630,15 +630,17 @@ PlayerSettings:
630630
webGLLinkerTarget: 1
631631
webGLThreadsSupport: 0
632632
scriptingDefineSymbols: {}
633-
platformArchitecture: {}
633+
platformArchitecture:
634+
iOS: 1
634635
scriptingBackend: {}
635636
il2cppCompilerConfiguration: {}
636637
managedStrippingLevel: {}
637638
incrementalIl2cppBuild: {}
638639
allowUnsafeCode: 0
639640
additionalIl2CppArgs:
640641
scriptingRuntimeVersion: 1
641-
apiCompatibilityLevelPerPlatform: {}
642+
apiCompatibilityLevelPerPlatform:
643+
'': 6
642644
m_RenderingPath: 1
643645
m_MobileRenderingPath: 1
644646
metroPackageName: Template_3D

ProjectSettings/TagManager.asset

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ TagManager:
3636
-
3737
-
3838
-
39-
-
39+
- Spatial Awareness
4040
m_SortingLayers:
4141
- name: Default
4242
uniqueID: 0

0 commit comments

Comments
 (0)