浏览代码

Added XRTweak script to demo island scene.

/boatattack-xr-add-xr-support
thomas-zeng 4 年前
当前提交
ebb125ee
共有 2 个文件被更改,包括 221 次插入110 次删除
  1. 326
      Assets/scenes/demo_Island.unity
  2. 5
      Packages/manifest.json

326
Assets/scenes/demo_Island.unity


--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 11
serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2

m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 112000000, guid: 24dff42e17d0f4e61a3a4c0f017b53fc,
type: 2}
m_UseShadowmask: 0
m_LightingSettings: {fileID: 4890085278179872738, guid: a2cd4e218517b96439dfa09373e1114a,
type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2

manualTileSize: 0
tileSize: 256
accuratePlacement: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}

type: 3}
m_PrefabInstance: {fileID: 6589000189408555943}
m_PrefabAsset: {fileID: 0}
--- !u!84 &525795286
RenderTexture:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: WaterDepthMap
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
m_IsAlphaChannelOptional: 0
serializedVersion: 3
m_Width: 1024
m_Height: 1024
m_AntiAliasing: 1
m_MipCount: -1
m_DepthFormat: 2
m_ColorFormat: 142
m_MipMap: 0
m_GenerateMips: 1
m_SRGB: 0
m_UseDynamicScale: 0
m_BindMS: 0
m_EnableCompatibleFormat: 1
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 1
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_Dimension: 2
m_VolumeDepth: 1
--- !u!1 &532100838
GameObject:
m_ObjectHideFlags: 0

m_Script: {fileID: 11500000, guid: ac0b09e7857660247b1477e93731de29, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!84 &1150881939
RenderTexture:
--- !u!1001 &1276973142
PrefabInstance:
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: WaterDepthMap
m_ImageContentsHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_ForcedFallbackFormat: 4
m_DownscaleFallback: 0
serializedVersion: 3
m_Width: 1024
m_Height: 1024
m_AntiAliasing: 1
m_MipCount: -1
m_DepthFormat: 2
m_ColorFormat: 142
m_MipMap: 0
m_GenerateMips: 1
m_SRGB: 0
m_UseDynamicScale: 0
m_BindMS: 0
m_EnableCompatibleFormat: 1
m_TextureSettings:
serializedVersion: 2
m_FilterMode: 1
m_Aniso: 1
m_MipBias: 0
m_WrapU: 1
m_WrapV: 1
m_WrapW: 1
m_Dimension: 2
m_VolumeDepth: 1
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 7648190283397730052, guid: e40d347d116685f44a4079b688cfcb88,
type: 3}
propertyPath: m_Name
value: XRTweak
objectReference: {fileID: 0}
- target: {fileID: 7648190283397730054, guid: e40d347d116685f44a4079b688cfcb88,
type: 3}
propertyPath: m_RootOrder
value: 8
objectReference: {fileID: 0}
- target: {fileID: 7648190283397730054, guid: e40d347d116685f44a4079b688cfcb88,
type: 3}
propertyPath: m_LocalPosition.x
value: -70.55728
objectReference: {fileID: 0}
- target: {fileID: 7648190283397730054, guid: e40d347d116685f44a4079b688cfcb88,
type: 3}
propertyPath: m_LocalPosition.y
value: 3.088983
objectReference: {fileID: 0}
- target: {fileID: 7648190283397730054, guid: e40d347d116685f44a4079b688cfcb88,
type: 3}
propertyPath: m_LocalPosition.z
value: -52.498493
objectReference: {fileID: 0}
- target: {fileID: 7648190283397730054, guid: e40d347d116685f44a4079b688cfcb88,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7648190283397730054, guid: e40d347d116685f44a4079b688cfcb88,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7648190283397730054, guid: e40d347d116685f44a4079b688cfcb88,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7648190283397730054, guid: e40d347d116685f44a4079b688cfcb88,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7648190283397730054, guid: e40d347d116685f44a4079b688cfcb88,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7648190283397730054, guid: e40d347d116685f44a4079b688cfcb88,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7648190283397730054, guid: e40d347d116685f44a4079b688cfcb88,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e40d347d116685f44a4079b688cfcb88, type: 3}
--- !u!1 &1405642608
GameObject:
m_ObjectHideFlags: 1

m_Modifications:
- target: {fileID: 1478924042743889166, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.037609365
propertyPath: m_LocalPosition.x
value: -20.549393
propertyPath: m_LocalRotation.y
value: 0.96143246
propertyPath: m_LocalPosition.z
value: 49.59078
propertyPath: m_LocalRotation.z
value: -0.2132932
propertyPath: m_LocalRotation.w
value: -0.1695265
propertyPath: m_LocalRotation.w
value: -0.16952659
propertyPath: m_LocalRotation.x
value: -0.03760934
propertyPath: m_LocalPosition.x
value: -20.54939
propertyPath: m_LocalRotation.y
value: 0.96143246
propertyPath: m_LocalPosition.z
value: 49.590775
propertyPath: m_LocalRotation.z
value: -0.21329314
objectReference: {fileID: 0}
- target: {fileID: 3924426380732521610, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}

type: 3}
propertyPath: m_Materials.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 6584494487439113192, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.x
value: 0.19530843
objectReference: {fileID: 0}
- target: {fileID: 6584494487439113192, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.z
value: -0.2083346
objectReference: {fileID: 0}
- target: {fileID: 6584494487518742538, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.1853716
objectReference: {fileID: 0}
- target: {fileID: 6584494487518742538, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.z
value: -0.11040182
objectReference: {fileID: 0}
- target: {fileID: 6584494487917880193, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.2391963
objectReference: {fileID: 0}
- target: {fileID: 6584494487917880193, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.z
value: -0.32809755
objectReference: {fileID: 0}
- target: {fileID: 6584494488177183843, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.z
value: 0.14849195
objectReference: {fileID: 0}
- target: {fileID: 6589000188976305594, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}

objectReference: {fileID: 0}
- target: {fileID: 6589000189934312487, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6589000189934312487, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}

objectReference: {fileID: 0}
- target: {fileID: 6589000189934312487, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6589000189934312487, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}

objectReference: {fileID: 0}
- target: {fileID: 6589000189934312487, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6589000189934312487, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6589000189934312487, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}

objectReference: {fileID: 0}
- target: {fileID: 6589000190219289651, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.33798867
propertyPath: m_LocalRotation.w
value: 0.9290833
propertyPath: m_LocalRotation.w
value: 0.9290833
propertyPath: m_LocalRotation.y
value: -0.33798867
objectReference: {fileID: 0}
- target: {fileID: 6589000190355498174, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}

objectReference: {fileID: 0}
- target: {fileID: 7096263784801332180, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_Color.r
value: 0.9716981
propertyPath: m_Color.b
value: 0.7287736
objectReference: {fileID: 0}
- target: {fileID: 7096263784801332180, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}

- target: {fileID: 7096263784801332180, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_Color.b
value: 0.7287736
propertyPath: m_Color.r
value: 0.9716981
propertyPath: m_Enabled
value: 1
propertyPath: _depthTex
value:
propertyPath: _depthTex
value:
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7121332023826027706, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}

objectReference: {fileID: 0}
- target: {fileID: 7532958370797222331, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.14904708
objectReference: {fileID: 0}
- target: {fileID: 7532958370797222331, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.x
value: 0.011147385
objectReference: {fileID: 0}

propertyPath: m_LocalRotation.z
value: -0.073744975
objectReference: {fileID: 0}
- target: {fileID: 7532958370797222331, guid: e70416e3bc35d4004a9981d0ac102ba5,
- target: {fileID: 8115735017685696522, guid: e70416e3bc35d4004a9981d0ac102ba5,
value: 0.14904708
value: -0.44779894
objectReference: {fileID: 0}
- target: {fileID: 8115735017685696522, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}

type: 3}
propertyPath: m_LocalRotation.z
value: 0.27422032
objectReference: {fileID: 0}
- target: {fileID: 8115735017685696522, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}
propertyPath: m_LocalRotation.w
value: -0.44779894
objectReference: {fileID: 0}
- target: {fileID: 8367957410019747705, guid: e70416e3bc35d4004a9981d0ac102ba5,
type: 3}

objectReference: {fileID: 0}
- target: {fileID: 7003470173341666312, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7003470173341666312, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}
value: -88
value: -20.549393
value: 10
value: 14
value: 5
value: 49.59078
objectReference: {fileID: 0}
- target: {fileID: 7003470173341666312, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}
propertyPath: m_LocalRotation.w
value: -0.1695265
value: 0.011147385
value: -0.03760934
value: 0.9860134
value: 0.96143246
value: -0.073744975
objectReference: {fileID: 0}
- target: {fileID: 7003470173341666312, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.14904708
objectReference: {fileID: 0}
- target: {fileID: 7003470173341666312, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}
propertyPath: m_RootOrder
value: 1
value: -0.21329314
objectReference: {fileID: 0}
- target: {fileID: 7003470173341666312, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}

objectReference: {fileID: 0}
- target: {fileID: 7003470173341666315, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}
propertyPath: near clip plane
value: 3
propertyPath: field of view
value: 60
objectReference: {fileID: 0}
- target: {fileID: 7003470173341666315, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}

- target: {fileID: 7003470173341666315, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}
propertyPath: field of view
value: 50
propertyPath: near clip plane
value: 3
propertyPath: m_LocalRotation.x
value: -0
propertyPath: m_LocalPosition.x
value: 85.01247
propertyPath: m_LocalRotation.y
value: -0
propertyPath: m_LocalPosition.y
value: -462.3177
propertyPath: m_LocalRotation.z
value: -0
propertyPath: m_LocalPosition.z
value: 212.26677
objectReference: {fileID: 0}
- target: {fileID: 8288760422567894841, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}

- target: {fileID: 8288760422567894841, guid: 530da10d6c4d9442e9e8d5eeb77a25d8,
type: 3}
propertyPath: m_LocalPosition.x
value: 85.01247
propertyPath: m_LocalRotation.x
value: -0
propertyPath: m_LocalPosition.y
value: -462.3177
propertyPath: m_LocalRotation.y
value: -0
propertyPath: m_LocalPosition.z
value: 212.26677
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 530da10d6c4d9442e9e8d5eeb77a25d8, type: 3}

5
Packages/manifest.json


"com.unity.inputsystem": "1.0.0",
"com.unity.mathematics": "1.1.0",
"com.unity.memoryprofiler": "0.2.4-preview.1",
"com.unity.render-pipelines.universal": "9.0.0-preview.35",
"com.unity.render-pipelines.core": "file:D:/UnityWorkSpace/Graphics/com.unity.render-pipelines.core",
"com.unity.render-pipelines.universal": "file:D:/UnityWorkSpace/Graphics/com.unity.render-pipelines.universal",
"com.unity.shadergraph": "file:D:/UnityWorkSpace/Graphics/com.unity.shadergraph",
"com.unity.xr.management": "3.2.13",
"com.unity.terrain-tools": "3.0.1-preview",
"com.unity.textmeshpro": "3.0.0-preview.14",
"com.unity.timeline": "1.3.4",

正在加载...
取消
保存