更新xreal配置

This commit is contained in:
2026-05-09 12:08:40 +08:00
parent f04556e609
commit cbb94162e0
17 changed files with 223 additions and 5 deletions

8
Assets/XR.meta Normal file
View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: fec92174edb8d1a4aabb7c25880dec93
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/XR/Loaders.meta Normal file
View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: eb424f54ae4f33f49bc718452373bc48
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,14 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c8bc60fe6e655c444ab9e7db1b87f0e2, type: 3}
m_Name: XREALXRLoader
m_EditorClassIdentifier:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 58587c6063104fc4ba6749de9d92654f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

8
Assets/XR/Settings.meta Normal file
View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6af31ff3fc54fef47bec4b13bb269078
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,24 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5d6c6fbaebc0a41448bdb2a644012ac7, type: 3}
m_Name: XREALSettings
m_EditorClassIdentifier:
StereoRendering: 2
InitialTrackingType: 0
InitialInputSource: 3
VirtualController: {fileID: 0}
SupportMultiResume: 1
AddtionalPermissions: []
EnableAutoLogcat: 0
EnableNativeSessionManager: 0
SupportDevices: 0100000002000000
LicenseAsset: {fileID: 0}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b2e55e571bd3de34c99377eb8237b83d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,79 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-2338028227154298522
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d236b7d11115f2143951f1e14045df39, type: 3}
m_Name: Android Settings
m_EditorClassIdentifier:
m_LoaderManagerInstance: {fileID: 4949870636762479543}
m_InitManagerOnStart: 1
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d2dc886499c26824283350fa532d087d, type: 3}
m_Name: XRGeneralSettingsPerBuildTarget
m_EditorClassIdentifier:
Keys: 0100000007000000
Values:
- {fileID: 4283003275026294642}
- {fileID: -2338028227154298522}
--- !u!114 &1370368528910738246
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4c3631f5e58749a59194e0cf6baf6d5, type: 3}
m_Name: Standalone Providers
m_EditorClassIdentifier:
m_RequiresSettingsUpdate: 0
m_AutomaticLoading: 0
m_AutomaticRunning: 0
m_Loaders: []
--- !u!114 &4283003275026294642
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d236b7d11115f2143951f1e14045df39, type: 3}
m_Name: Standalone Settings
m_EditorClassIdentifier:
m_LoaderManagerInstance: {fileID: 1370368528910738246}
m_InitManagerOnStart: 1
--- !u!114 &4949870636762479543
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4c3631f5e58749a59194e0cf6baf6d5, type: 3}
m_Name: Android Providers
m_EditorClassIdentifier:
m_RequiresSettingsUpdate: 0
m_AutomaticLoading: 0
m_AutomaticRunning: 0
m_Loaders:
- {fileID: 11400000, guid: 58587c6063104fc4ba6749de9d92654f, type: 2}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7170621592f4a344aa61e8b6eb6f8534
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@@ -6,6 +6,7 @@
"com.unity.test-framework": "1.1.33", "com.unity.test-framework": "1.1.33",
"com.unity.ugui": "1.0.0", "com.unity.ugui": "1.0.0",
"com.unity.webrtc": "3.0.0-pre.8", "com.unity.webrtc": "3.0.0-pre.8",
"com.xreal.xr": "file:com.xreal.xr.tar.gz",
"com.unity.modules.ai": "1.0.0", "com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0", "com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0", "com.unity.modules.animation": "1.0.0",

View File

@@ -138,6 +138,46 @@
}, },
"url": "https://packages.unity.com" "url": "https://packages.unity.com"
}, },
"com.unity.xr.core-utils": {
"version": "2.5.2",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.modules.xr": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.xr.legacyinputhelpers": {
"version": "2.1.12",
"depth": 2,
"source": "registry",
"dependencies": {
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.xr": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.xr.management": {
"version": "4.4.1",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.modules.vr": "1.0.0",
"com.unity.modules.xr": "1.0.0",
"com.unity.modules.subsystems": "1.0.0",
"com.unity.xr.legacyinputhelpers": "2.1.7"
},
"url": "https://packages.unity.com"
},
"com.xreal.xr": {
"version": "file:com.xreal.xr.tar.gz",
"depth": 0,
"source": "local-tarball",
"dependencies": {
"com.unity.xr.management": "4.4.1",
"com.unity.xr.core-utils": "2.2.0"
}
},
"com.unity.modules.ai": { "com.unity.modules.ai": {
"version": "1.0.0", "version": "1.0.0",
"depth": 0, "depth": 0,

View File

@@ -1,16 +1,18 @@
{ {
"MonoBehaviour": { "MonoBehaviour": {
"Version": 3, "Version": 5,
"EnableBurstCompilation": true, "EnableBurstCompilation": true,
"EnableOptimisations": true, "EnableOptimisations": true,
"EnableSafetyChecks": false, "EnableSafetyChecks": false,
"EnableDebugInAllBuilds": false, "EnableDebugInAllBuilds": false,
"UsePlatformSDKLinker": false, "DebugDataKind": 0,
"EnableArmv9SecurityFeatures": false,
"CpuMinTargetX32": 0, "CpuMinTargetX32": 0,
"CpuMaxTargetX32": 0, "CpuMaxTargetX32": 0,
"CpuMinTargetX64": 0, "CpuMinTargetX64": 0,
"CpuMaxTargetX64": 0, "CpuMaxTargetX64": 0,
"CpuTargetsX32": 6, "CpuTargetsX32": 6,
"CpuTargetsX64": 72 "CpuTargetsX64": 72,
"OptimizeFor": 0
} }
} }

View File

@@ -1,6 +1,6 @@
{ {
"MonoBehaviour": { "MonoBehaviour": {
"Version": 3, "Version": 5,
"DisabledWarnings": "" "DisabledWarnings": ""
} }
} }

View File

@@ -8,5 +8,9 @@ EditorBuildSettings:
m_configObjects: m_configObjects:
com.unity.input.settings: {fileID: 11400000, guid: c8c74bf90d6715b4d87d227d8efc0b37, com.unity.input.settings: {fileID: 11400000, guid: c8c74bf90d6715b4d87d227d8efc0b37,
type: 2} type: 2}
com.unity.renderstreaming.settings: {fileID: 11400000, guid: 039337c008e9a5c44a60f957eae3e450, com.unity.renderstreaming.settings: {fileID: 11400000, guid: c58ccff264f2e0948adda75e963ef90a,
type: 2}
com.unity.xr.management.loader_settings: {fileID: 11400000, guid: 7170621592f4a344aa61e8b6eb6f8534,
type: 2}
com.unity.xr.management.xrealsettings: {fileID: 11400000, guid: b2e55e571bd3de34c99377eb8237b83d,
type: 2} type: 2}

View File

@@ -77,6 +77,7 @@ PlayerSettings:
androidMinimumWindowHeight: 300 androidMinimumWindowHeight: 300
androidFullscreenMode: 1 androidFullscreenMode: 1
androidAutoRotationBehavior: 1 androidAutoRotationBehavior: 1
androidPredictiveBackSupport: 1
defaultIsNativeResolution: 1 defaultIsNativeResolution: 1
macRetinaSupport: 1 macRetinaSupport: 1
runInBackground: 1 runInBackground: 1

View File

@@ -0,0 +1,5 @@
{
"m_Settings": [
"RemoveLegacyInputHelpersForReload"
]
}