浏览代码

Initial commit

/main/yining.cheng
Yining Cheng 3 年前
当前提交
31ac5dce
共有 1256 个文件被更改,包括 4985 次插入0 次删除
  1. 3
      debug.log
  2. 8
      Assets/1stParty/HDRPAdditionalResources/7.1.2.meta
  3. 492
      Assets/1stParty/HDRPAdditionalResources/DefaultSceneRoot.prefab
  4. 7
      Assets/1stParty/HDRPAdditionalResources/DefaultSceneRoot.prefab.meta
  5. 88
      Assets/1stParty/HDRPAdditionalResources/Scene PostProcess Profile.asset
  6. 8
      Assets/1stParty/HDRPAdditionalResources/Scene PostProcess Profile.asset.meta
  7. 164
      Assets/1stParty/HDRPAdditionalResources/Sky and Fog Settings Profile.asset
  8. 8
      Assets/1stParty/HDRPAdditionalResources/Sky and Fog Settings Profile.asset.meta
  9. 364
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_2019_HDRenderPipelineAsset.asset
  10. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_2019_HDRenderPipelineAsset.asset.meta
  11. 145
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1.asset
  12. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1.asset.meta
  13. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 10.asset
  14. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 10.asset.meta
  15. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 11.asset
  16. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 11.asset.meta
  17. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 12.asset
  18. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 12.asset.meta
  19. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 13.asset
  20. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 13.asset.meta
  21. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 14.asset
  22. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 14.asset.meta
  23. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 15.asset
  24. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 15.asset.meta
  25. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 2.asset
  26. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 2.asset.meta
  27. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 3.asset
  28. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 3.asset.meta
  29. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 4.asset
  30. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 4.asset.meta
  31. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 5.asset
  32. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 5.asset.meta
  33. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 6.asset
  34. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 6.asset.meta
  35. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 7.asset
  36. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 7.asset.meta
  37. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 8.asset
  38. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 8.asset.meta
  39. 25
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 9.asset
  40. 8
      Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 9.asset.meta
  41. 8
      Assets/1stParty/HDRPAdditionalResources.meta
  42. 91
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep01.wav
  43. 16
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep01.wav.meta
  44. 88
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep02.wav
  45. 16
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep02.wav.meta
  46. 108
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep03.wav
  47. 16
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep03.wav.meta
  48. 97
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep04.wav
  49. 16
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep04.wav.meta
  50. 132
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Jump.wav
  51. 16
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Jump.wav.meta
  52. 233
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Land.wav
  53. 16
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Land.wav.meta
  54. 6
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio.meta
  55. 18
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/FirstPersonCharacterGuidelines.txt
  56. 5
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/FirstPersonCharacterGuidelines.txt.meta
  57. 383
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Prefabs/FPSController.prefab
  58. 5
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Prefabs/FPSController.prefab.meta
  59. 408
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Prefabs/RigidBodyFPSController.prefab
  60. 5
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Prefabs/RigidBodyFPSController.prefab.meta
  61. 6
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Prefabs.meta
  62. 259
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/FirstPersonController.cs
  63. 9
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/FirstPersonController.cs.meta
  64. 55
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/HeadBob.cs
  65. 9
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/HeadBob.cs.meta
  66. 115
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/MouseLook.cs
  67. 9
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/MouseLook.cs.meta
  68. 278
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/RigidbodyFirstPersonController.cs
  69. 9
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/RigidbodyFirstPersonController.cs.meta
  70. 6
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts.meta
  71. 6
      Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter.meta
  72. 6
      Assets/1stParty/Standard Assets/Characters.meta
  73. 32
      Assets/1stParty/Standard Assets/CrossPlatformInput/CrossPlatformInputGuidelines.txt
  74. 5
      Assets/1stParty/Standard Assets/CrossPlatformInput/CrossPlatformInputGuidelines.txt.meta
  75. 75
      Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/AxisTouchButton.cs
  76. 9
      Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/AxisTouchButton.cs.meta
  77. 50
      Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/ButtonHandler.cs
  78. 9
      Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/ButtonHandler.cs.meta
  79. 318
      Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/CrossPlatformInputManager.cs
  80. 11
      Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/CrossPlatformInputManager.cs.meta
  81. 17
      Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/InputAxisScrollbar.cs
  82. 9
      Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/InputAxisScrollbar.cs.meta
  83. 118
      Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/Joystick.cs
  84. 9
      Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/Joystick.cs.meta
  85. 99
      Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/MobileControlRig.cs
  86. 9
      Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/MobileControlRig.cs.meta

3
debug.log


[1017/095916.485:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1018/095916.492:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1019/095916.499:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)

8
Assets/1stParty/HDRPAdditionalResources/7.1.2.meta


fileFormatVersion: 2
guid: 85f7bed28f28ae2488aacefdc8b7a531
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

492
Assets/1stParty/HDRPAdditionalResources/DefaultSceneRoot.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1727821257471780564
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 78747437022727650}
- component: {fileID: 3939057304150759544}
m_Layer: 0
m_Name: Sky and Fog Volume
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &78747437022727650
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1727821257471780564}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -1.4211643, y: -3.172676, z: 9.714802}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4264326293830219037}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &3939057304150759544
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1727821257471780564}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
m_Name:
m_EditorClassIdentifier:
isGlobal: 1
priority: 0
blendDistance: 0
weight: 1
sharedProfile: {fileID: 11400000, guid: a817123acc6c86946bd0d80b00908e31, type: 2}
--- !u!1 &2131112742624884157
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6534824466647122371}
- component: {fileID: 4089861365231966854}
- component: {fileID: 5131575625094108011}
m_Layer: 0
m_Name: Directional Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6534824466647122371
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2131112742624884157}
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
m_LocalPosition: {x: 2.4961035, y: -0.09313488, z: 3.8995318}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4264326293830219037}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!108 &4089861365231966854
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2131112742624884157}
m_Enabled: 1
serializedVersion: 10
m_Type: 1
m_Shape: 0
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 10000
m_Range: 10
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
m_CookieSize: 10
m_Shadows:
m_Type: 2
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_CullingMatrixOverride:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_UseCullingMatrixOverride: 0
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingLayerMask: 1
m_Lightmapping: 4
m_LightShadowCasterMode: 2
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 5500
m_UseColorTemperature: 1
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!114 &5131575625094108011
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2131112742624884157}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7a68c43fe1f2a47cfa234b5eeaa98012, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Version: 5
directionalIntensity: 3.1415927
punctualIntensity: 600
areaIntensity: 200
lightLayers: 1
m_Intensity: 10000
m_EnableSpotReflector: 0
m_LuxAtDistance: 1
m_InnerSpotPercent: 0
m_LightDimmer: 1
m_VolumetricDimmer: 1
m_LightUnit: 2
m_FadeDistance: 10000
m_AffectDiffuse: 1
m_AffectSpecular: 1
m_NonLightmappedOnly: 0
m_LightTypeExtent: 0
m_SpotLightShape: 0
m_ShapeWidth: 0.5
m_ShapeHeight: 0.5
m_AspectRatio: 1
m_ShapeRadius: 0
m_UseCustomSpotLightShadowCone: 0
m_CustomSpotLightShadowCone: 30
m_MaxSmoothness: 0.99
m_ApplyRangeAttenuation: 1
m_DisplayAreaLightEmissiveMesh: 0
m_AreaLightCookie: {fileID: 0}
m_AreaLightShadowCone: 120
m_UseScreenSpaceShadows: 0
m_InteractsWithSky: 1
m_EvsmExponent: 15
m_EvsmLightLeakBias: 0
m_EvsmVarianceBias: 0.00001
m_EvsmBlurPasses: 0
m_LightlayersMask: 1
m_LinkShadowLayers: 1
m_ShadowNearPlane: 0.1
m_ShadowSoftness: 0.5
m_BlockerSampleCount: 24
m_FilterSampleCount: 16
m_MinFilterSize: 0.00001
m_KernelSize: 5
m_LightAngle: 1
m_MaxDepthBias: 0.001
m_ShadowResolutionTier: 1
m_UseShadowQualitySettings: 0
m_CustomShadowResolution: 512
m_ShadowDimmer: 1
m_VolumetricShadowDimmer: 1
m_ShadowFadeDistance: 10000
m_ContactShadows: 0
m_ShadowTint: {r: 0, g: 0, b: 0, a: 1}
m_NormalBias: 0.75
m_ConstantBias: 0.15
m_ShadowUpdateMode: 0
m_ShadowCascadeRatios:
- 0.05
- 0.2
- 0.3
m_ShadowCascadeBorders:
- 0.2
- 0.2
- 0.2
- 0.2
m_ShadowAlgorithm: 0
m_ShadowVariant: 0
m_ShadowPrecision: 0
useOldInspector: 0
useVolumetric: 1
featuresFoldout: 1
showAdditionalSettings: 0
--- !u!1 &4385301687372491650
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1779374894981780732}
- component: {fileID: 8708978604625570628}
m_Layer: 0
m_Name: Scene PostProcess
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1779374894981780732
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4385301687372491650}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -1.4158418, y: 7.2329626, z: 6.6463027}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4264326293830219037}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &8708978604625570628
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4385301687372491650}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3}
m_Name:
m_EditorClassIdentifier:
isGlobal: 1
priority: 0
blendDistance: 0
weight: 1
sharedProfile: {fileID: 11400000, guid: afc2e9b608c304f468d0c1818eba58d5, type: 2}
--- !u!1 &4613009710449648096
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4958332782299279292}
- component: {fileID: 4819242101474771701}
- component: {fileID: 5890402723748121877}
- component: {fileID: 4949957087466332343}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4958332782299279292
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4613009710449648096}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 2.4961035, y: -2.0931349, z: -6.100468}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 4264326293830219037}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!20 &4819242101474771701
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4613009710449648096}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5
m_Depth: -1
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
m_AllowMSAA: 0
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!81 &5890402723748121877
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4613009710449648096}
m_Enabled: 1
--- !u!114 &4949957087466332343
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4613009710449648096}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 23c1ce4fb46143f46bc5cb5224c934f6, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Version: 6
m_ObsoleteRenderingPath: 0
m_ObsoleteFrameSettings:
overrides: 0
enableShadow: 0
enableContactShadows: 0
enableShadowMask: 0
enableSSR: 0
enableSSAO: 0
enableSubsurfaceScattering: 0
enableTransmission: 0
enableAtmosphericScattering: 0
enableVolumetrics: 0
enableReprojectionForVolumetrics: 0
enableLightLayers: 0
enableExposureControl: 1
diffuseGlobalDimmer: 0
specularGlobalDimmer: 0
shaderLitMode: 0
enableDepthPrepassWithDeferredRendering: 0
enableTransparentPrepass: 0
enableMotionVectors: 0
enableObjectMotionVectors: 0
enableDecals: 0
enableRoughRefraction: 0
enableTransparentPostpass: 0
enableDistortion: 0
enablePostprocess: 0
enableOpaqueObjects: 0
enableTransparentObjects: 0
enableRealtimePlanarReflection: 0
enableMSAA: 0
enableAsyncCompute: 0
runLightListAsync: 0
runSSRAsync: 0
runSSAOAsync: 0
runContactShadowsAsync: 0
runVolumeVoxelizationAsync: 0
lightLoopSettings:
overrides: 0
enableDeferredTileAndCluster: 0
enableComputeLightEvaluation: 0
enableComputeLightVariants: 0
enableComputeMaterialVariants: 0
enableFptlForForwardOpaque: 0
enableBigTilePrepass: 0
isFptlEnabled: 0
clearColorMode: 0
backgroundColorHDR: {r: 0.025, g: 0.07, b: 0.19, a: 0}
clearDepth: 1
volumeLayerMask:
serializedVersion: 2
m_Bits: 1
volumeAnchorOverride: {fileID: 0}
antialiasing: 2
SMAAQuality: 2
dithering: 1
stopNaNs: 0
physicalParameters:
m_Iso: 200
m_ShutterSpeed: 0.005
m_Aperture: 16
m_BladeCount: 5
m_Curvature: {x: 2, y: 11}
m_BarrelClipping: 0.25
m_Anamorphism: 0
flipYMode: 0
fullscreenPassthrough: 0
allowDynamicResolution: 0
customRenderingSettings: 0
invertFaceCulling: 0
probeLayerMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPathCustomFrameSettings:
bitDatas:
data1: 69456055238429
data2: 4539628424657829888
lodBias: 1
lodBiasMode: 0
maximumLODLevel: 0
maximumLODLevelMode: 0
renderingPathCustomFrameSettingsOverrideMask:
mask:
data1: 0
data2: 0
defaultFrameSettings: 0
--- !u!1 &4893056312182120781
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4264326293830219037}
m_Layer: 0
m_Name: DefaultSceneRoot
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &4264326293830219037
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4893056312182120781}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -2.4961035, y: 3.0931349, z: -3.8995318}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 4958332782299279292}
- {fileID: 6534824466647122371}
- {fileID: 78747437022727650}
- {fileID: 1779374894981780732}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

7
Assets/1stParty/HDRPAdditionalResources/DefaultSceneRoot.prefab.meta


fileFormatVersion: 2
guid: ea039ef1838139b4fbf77690e0cea1c9
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

88
Assets/1stParty/HDRPAdditionalResources/Scene PostProcess Profile.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-6655779379860192965
MonoBehaviour:
m_ObjectHideFlags: 3
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: 2d08ce26990eb1a4a9177b860541e702, type: 3}
m_Name: Exposure
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
mode:
m_OverrideState: 1
m_Value: 1
meteringMode:
m_OverrideState: 0
m_Value: 2
luminanceSource:
m_OverrideState: 0
m_Value: 1
fixedExposure:
m_OverrideState: 0
m_Value: 0
compensation:
m_OverrideState: 0
m_Value: 0
limitMin:
m_OverrideState: 0
m_Value: -10
limitMax:
m_OverrideState: 1
m_Value: 10
curveMap:
m_OverrideState: 0
m_Value:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: -10
value: -10
inSlope: 0
outSlope: 1
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 20
value: 20
inSlope: 1
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
adaptationMode:
m_OverrideState: 0
m_Value: 1
adaptationSpeedDarkToLight:
m_OverrideState: 0
m_Value: 3
min: 0.001
adaptationSpeedLightToDark:
m_OverrideState: 0
m_Value: 1
min: 0.001
--- !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: d7fd9488000d3734a9e00ee676215985, type: 3}
m_Name: Scene PostProcess Profile
m_EditorClassIdentifier:
components:
- {fileID: -6655779379860192965}

8
Assets/1stParty/HDRPAdditionalResources/Scene PostProcess Profile.asset.meta


fileFormatVersion: 2
guid: 1966b6af5df60f24b9a50b1d61f16f66
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

164
Assets/1stParty/HDRPAdditionalResources/Sky and Fog Settings Profile.asset


%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: d7fd9488000d3734a9e00ee676215985, type: 3}
m_Name: Sky and Fog Settings Profile
m_EditorClassIdentifier:
components:
- {fileID: 6775376097864012941}
- {fileID: 167385505163088909}
- {fileID: 7488742677745068149}
--- !u!114 &167385505163088909
MonoBehaviour:
m_ObjectHideFlags: 3
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: 29b00527f85bb3346a4d2cb710971587, type: 3}
m_Name:
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
colorMode:
m_OverrideState: 0
m_Value: 1
color:
m_OverrideState: 0
m_Value: {r: 0.5, g: 0.5, b: 0.5, a: 1}
hdr: 1
showAlpha: 0
showEyeDropper: 1
density:
m_OverrideState: 0
m_Value: 1
min: 0
max: 1
maxFogDistance:
m_OverrideState: 0
m_Value: 5000
min: 0
mipFogMaxMip:
m_OverrideState: 0
m_Value: 0.5
min: 0
max: 1
mipFogNear:
m_OverrideState: 0
m_Value: 0
min: 0
mipFogFar:
m_OverrideState: 0
m_Value: 1000
min: 0
albedo:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
hdr: 0
showAlpha: 1
showEyeDropper: 1
meanFreePath:
m_OverrideState: 1
m_Value: 200
min: 1
baseHeight:
m_OverrideState: 0
m_Value: 0
maximumHeight:
m_OverrideState: 0
m_Value: 10
anisotropy:
m_OverrideState: 1
m_Value: 0.65
min: -1
max: 1
globalLightProbeDimmer:
m_OverrideState: 0
m_Value: 1
min: 0
max: 1
enableDistantFog:
m_OverrideState: 0
m_Value: 0
--- !u!114 &6775376097864012941
MonoBehaviour:
m_ObjectHideFlags: 3
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: 0d7593b3a9277ac4696b20006c21dde2, type: 3}
m_Name:
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
skyType:
m_OverrideState: 1
m_Value: 1
skyAmbientMode:
m_OverrideState: 0
m_Value: 0
fogType:
m_OverrideState: 1
m_Value: 3
--- !u!114 &7488742677745068149
MonoBehaviour:
m_ObjectHideFlags: 3
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: 59b6606ef2548734bb6d11b9d160bc7e, type: 3}
m_Name: HDRISky
m_EditorClassIdentifier:
active: 1
m_AdvancedMode: 0
rotation:
m_OverrideState: 0
m_Value: 0
min: 0
max: 360
skyIntensityMode:
m_OverrideState: 0
m_Value: 0
exposure:
m_OverrideState: 1
m_Value: 10
multiplier:
m_OverrideState: 0
m_Value: 1
min: 0
upperHemisphereLuxValue:
m_OverrideState: 0
m_Value: 0.46608552
min: 0
desiredLuxValue:
m_OverrideState: 0
m_Value: 20000
updateMode:
m_OverrideState: 0
m_Value: 0
updatePeriod:
m_OverrideState: 0
m_Value: 0
min: 0
includeSunInBaking:
m_OverrideState: 0
m_Value: 0
hdriSky:
m_OverrideState: 1
m_Value: {fileID: 8900000, guid: 8253d41e6e8b11a4cbe77a4f8f82934d, type: 3}

8
Assets/1stParty/HDRPAdditionalResources/Sky and Fog Settings Profile.asset.meta


fileFormatVersion: 2
guid: d1559099f68fbff4d890779694e5dc55
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

364
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_2019_HDRenderPipelineAsset.asset


%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: 0cf1dab834d4ec34195b920ea7bbf9ec, type: 3}
m_Name: Spotlight_Tunnel_2019_HDRenderPipelineAsset
m_EditorClassIdentifier:
m_Version: 14
m_ObsoleteFrameSettings:
overrides: 0
enableShadow: 0
enableContactShadows: 0
enableShadowMask: 0
enableSSR: 0
enableSSAO: 0
enableSubsurfaceScattering: 0
enableTransmission: 0
enableAtmosphericScattering: 0
enableVolumetrics: 0
enableReprojectionForVolumetrics: 0
enableLightLayers: 0
enableExposureControl: 1
diffuseGlobalDimmer: 0
specularGlobalDimmer: 0
shaderLitMode: 0
enableDepthPrepassWithDeferredRendering: 0
enableTransparentPrepass: 0
enableMotionVectors: 0
enableObjectMotionVectors: 0
enableDecals: 0
enableRoughRefraction: 0
enableTransparentPostpass: 0
enableDistortion: 0
enablePostprocess: 0
enableOpaqueObjects: 0
enableTransparentObjects: 0
enableRealtimePlanarReflection: 0
enableMSAA: 0
enableAsyncCompute: 0
runLightListAsync: 0
runSSRAsync: 0
runSSAOAsync: 0
runContactShadowsAsync: 0
runVolumeVoxelizationAsync: 0
lightLoopSettings:
overrides: 0
enableDeferredTileAndCluster: 0
enableComputeLightEvaluation: 0
enableComputeLightVariants: 0
enableComputeMaterialVariants: 0
enableFptlForForwardOpaque: 0
enableBigTilePrepass: 0
isFptlEnabled: 0
m_ObsoleteBakedOrCustomReflectionFrameSettings:
overrides: 0
enableShadow: 0
enableContactShadows: 0
enableShadowMask: 0
enableSSR: 0
enableSSAO: 0
enableSubsurfaceScattering: 0
enableTransmission: 0
enableAtmosphericScattering: 0
enableVolumetrics: 0
enableReprojectionForVolumetrics: 0
enableLightLayers: 0
enableExposureControl: 1
diffuseGlobalDimmer: 0
specularGlobalDimmer: 0
shaderLitMode: 0
enableDepthPrepassWithDeferredRendering: 0
enableTransparentPrepass: 0
enableMotionVectors: 0
enableObjectMotionVectors: 0
enableDecals: 0
enableRoughRefraction: 0
enableTransparentPostpass: 0
enableDistortion: 0
enablePostprocess: 0
enableOpaqueObjects: 0
enableTransparentObjects: 0
enableRealtimePlanarReflection: 0
enableMSAA: 0
enableAsyncCompute: 0
runLightListAsync: 0
runSSRAsync: 0
runSSAOAsync: 0
runContactShadowsAsync: 0
runVolumeVoxelizationAsync: 0
lightLoopSettings:
overrides: 0
enableDeferredTileAndCluster: 0
enableComputeLightEvaluation: 0
enableComputeLightVariants: 0
enableComputeMaterialVariants: 0
enableFptlForForwardOpaque: 0
enableBigTilePrepass: 0
isFptlEnabled: 0
m_ObsoleteRealtimeReflectionFrameSettings:
overrides: 0
enableShadow: 0
enableContactShadows: 0
enableShadowMask: 0
enableSSR: 0
enableSSAO: 0
enableSubsurfaceScattering: 0
enableTransmission: 0
enableAtmosphericScattering: 0
enableVolumetrics: 0
enableReprojectionForVolumetrics: 0
enableLightLayers: 0
enableExposureControl: 1
diffuseGlobalDimmer: 0
specularGlobalDimmer: 0
shaderLitMode: 0
enableDepthPrepassWithDeferredRendering: 0
enableTransparentPrepass: 0
enableMotionVectors: 0
enableObjectMotionVectors: 0
enableDecals: 0
enableRoughRefraction: 0
enableTransparentPostpass: 0
enableDistortion: 0
enablePostprocess: 0
enableOpaqueObjects: 0
enableTransparentObjects: 0
enableRealtimePlanarReflection: 0
enableMSAA: 0
enableAsyncCompute: 0
runLightListAsync: 0
runSSRAsync: 0
runSSAOAsync: 0
runContactShadowsAsync: 0
runVolumeVoxelizationAsync: 0
lightLoopSettings:
overrides: 0
enableDeferredTileAndCluster: 0
enableComputeLightEvaluation: 0
enableComputeLightVariants: 0
enableComputeMaterialVariants: 0
enableFptlForForwardOpaque: 0
enableBigTilePrepass: 0
isFptlEnabled: 0
m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7,
type: 2}
m_RenderPipelineRayTracingResources: {fileID: 0}
m_DefaultVolumeProfile: {fileID: 11400000, guid: f940a8037e6cda542891dc1aac1fa4e8,
type: 2}
m_DefaultLookDevProfile: {fileID: 0}
m_RenderingPathDefaultCameraFrameSettings:
bitDatas:
data1: 70280696561501
data2: 4539628425463136256
lodBias: 1
lodBiasMode: 0
lodBiasQualityLevel: 0
maximumLODLevel: 0
maximumLODLevelMode: 0
maximumLODLevelQualityLevel: 0
materialQuality: 0
m_RenderingPathDefaultBakedOrCustomReflectionFrameSettings:
bitDatas:
data1: 64942043591453
data2: 4539628424389459968
lodBias: 1
lodBiasMode: 0
lodBiasQualityLevel: 0
maximumLODLevel: 0
maximumLODLevelMode: 0
maximumLODLevelQualityLevel: 0
materialQuality: 0
m_RenderingPathDefaultRealtimeReflectionFrameSettings:
bitDatas:
data1: 69692120112925
data2: 4539628424389459968
lodBias: 1
lodBiasMode: 0
lodBiasQualityLevel: 0
maximumLODLevel: 0
maximumLODLevelMode: 0
maximumLODLevelQualityLevel: 0
materialQuality: 0
m_RenderPipelineSettings:
supportShadowMask: 1
supportSSR: 1
supportSSAO: 1
supportSubsurfaceScattering: 1
increaseSssSampleCount: 0
supportVolumetrics: 1
increaseResolutionOfVolumetrics: 1
supportLightLayers: 0
lightLayerName0: Light Layer default
lightLayerName1: Light Layer 1
lightLayerName2: Light Layer 2
lightLayerName3: Light Layer 3
lightLayerName4: Light Layer 4
lightLayerName5: Light Layer 5
lightLayerName6: Light Layer 6
lightLayerName7: Light Layer 7
supportDistortion: 1
supportTransparentBackface: 1
supportTransparentDepthPrepass: 1
supportTransparentDepthPostpass: 1
colorBufferFormat: 74
supportCustomPass: 1
customBufferFormat: 12
supportedLitShaderMode: 2
supportDecals: 1
msaaSampleCount: 1
supportMotionVectors: 1
supportRuntimeDebugDisplay: 1
supportDitheringCrossFade: 1
supportTerrainHole: 0
supportRayTracing: 0
lightLoopSettings:
cookieAtlasSize: 512
cookieFormat: 74
pointCookieSize: 128
cubeCookieTexArraySize: 16
cookieAtlasLastValidMip: 0
cookieTexArraySize: 16
planarReflectionAtlasSize: 4096
reflectionProbeCacheSize: 64
reflectionCubemapSize: 256
reflectionCacheCompressed: 0
planarReflectionCacheCompressed: 0
skyReflectionSize: 256
skyLightingOverrideLayerMask:
serializedVersion: 2
m_Bits: 0
supportFabricConvolution: 0
maxDirectionalLightsOnScreen: 2
maxPunctualLightsOnScreen: 512
maxAreaLightsOnScreen: 64
maxEnvLightsOnScreen: 64
maxDecalsOnScreen: 512
maxPlanarReflectionOnScreen: 16
hdShadowInitParams:
maxShadowRequests: 128
directionalShadowsDepthBits: 32
shadowFilteringQuality: 1
punctualLightShadowAtlas:
shadowAtlasResolution: 4096
shadowAtlasDepthBits: 32
useDynamicViewportRescale: 1
areaLightShadowAtlas:
shadowAtlasResolution: 4096
shadowAtlasDepthBits: 32
useDynamicViewportRescale: 1
shadowResolutionDirectional:
m_Values: 00010000000200000004000000080000
m_SchemaId:
m_Id: With4Levels
shadowResolutionPunctual:
m_Values: 00010000000200000004000000080000
m_SchemaId:
m_Id: With4Levels
shadowResolutionArea:
m_Values: 00010000000200000004000000080000
m_SchemaId:
m_Id: With4Levels
maxDirectionalShadowMapResolution: 2048
maxPunctualShadowMapResolution: 2048
maxAreaShadowMapResolution: 2048
supportScreenSpaceShadows: 0
maxScreenSpaceShadowSlots: 4
screenSpaceShadowBufferFormat: 48
decalSettings:
drawDistance: 1000
atlasWidth: 4096
atlasHeight: 4096
perChannelMask: 1
postProcessSettings:
m_LutSize: 33
lutFormat: 48
bufferFormat: 74
dynamicResolutionSettings:
enabled: 0
maxPercentage: 100
minPercentage: 100
dynResType: 0
upsampleFilter: 1
forceResolution: 0
forcedPercentage: 100
lowresTransparentSettings:
enabled: 1
checkerboardDepthBuffer: 1
upsampleType: 1
xrSettings:
singlePass: 1
occlusionMesh: 1
postProcessQualitySettings:
NearBlurSampleCount: 030000000500000008000000
NearBlurMaxRadius:
- 2
- 4
- 7
FarBlurSampleCount: 04000000070000000e000000
FarBlurMaxRadius:
- 5
- 8
- 13
DoFResolution: 040000000200000001000000
DoFHighQualityFiltering: 000101
MotionBlurSampleCount: 04000000080000000c000000
BloomRes: 040000000200000002000000
BloomHighQualityFiltering: 000101
ChromaticAberrationMaxSamples: 03000000060000000c000000
lightSettings:
useContactShadow:
m_Values:
m_SchemaId:
m_Id:
maximumLODLevel:
m_Values: 000000000000000000000000
m_SchemaId:
m_Id: With3Levels
lodBias:
m_Values:
- 1
- 1
- 1
m_SchemaId:
m_Id: With3Levels
lightingQualitySettings:
AOStepCount: 040000000600000010000000
AOFullRes: 000001
AOMaximumRadiusPixels: 200000002800000050000000
AOBilateralUpsample: 000101
AODirectionCount: 010000000200000004000000
ContactShadowSampleCount: 060000000a00000010000000
SSRMaxRaySteps: 100000002000000040000000
allowShaderVariantStripping: 1
enableSRPBatcher: 1
shaderVariantLogLevel: 0
availableMaterialQualityLevels: -1
m_DefaultMaterialQualityLevel: 4
diffusionProfileSettings: {fileID: 0}
diffusionProfileSettingsList:
- {fileID: 11400000, guid: bc14bd069bfed5346a66bb5a462beba7, type: 2}
- {fileID: 11400000, guid: 375a0731a0be66e438a83de7958ab324, type: 2}
- {fileID: 11400000, guid: 0b9656f19e39a834aae42365d9be1211, type: 2}
- {fileID: 11400000, guid: a733f478fa65c2b47ada37c92f312924, type: 2}
- {fileID: 11400000, guid: 9101a4b52d7adbc40aa7a975fdce62df, type: 2}
- {fileID: 11400000, guid: 603caf64671c4b046b1d3df728babfa4, type: 2}
- {fileID: 11400000, guid: b1e4ee725fad68a449f7350abdae0c3d, type: 2}
- {fileID: 11400000, guid: 86cea4b0d96fa0f4ba3ba8b150c763b1, type: 2}
- {fileID: 11400000, guid: 5c064f96101d3594a8e5e6d779c6bc44, type: 2}
- {fileID: 11400000, guid: 553cc9eef3b4a194dbd7406b6d5ac784, type: 2}
- {fileID: 11400000, guid: 7405de2706bcd1f4199acb563fc8c844, type: 2}
- {fileID: 11400000, guid: 86c0fb2e6b6ec6b44b3b26d260421487, type: 2}
- {fileID: 11400000, guid: 0997fea176229b04e9a9aa6e20cad6e2, type: 2}
- {fileID: 11400000, guid: 70f4a2c3061d1b945817b989f3fa0ed3, type: 2}
- {fileID: 11400000, guid: fffa89cc0dc14374eb4c64f4b6ccdbbc, type: 2}
beforeTransparentCustomPostProcesses: []
beforePostProcessCustomPostProcesses: []
afterPostProcessCustomPostProcesses: []

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_2019_HDRenderPipelineAsset.asset.meta


fileFormatVersion: 2
guid: caa6ab209bf32754d81f81748f5c58f2
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

145
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1
m_EditorClassIdentifier:
m_Version: 1
profiles:
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1081419640
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1079790639
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1080146451
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1080974540
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1077024277
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1078744877
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1080204027
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1081760534
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1074030885
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1074271775
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1078676181
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1078856165
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1075667088
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1074985632
- scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1081528291
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1081419640

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1.asset.meta


fileFormatVersion: 2
guid: bc14bd069bfed5346a66bb5a462beba7
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData: '{"assetGUIDs":["bc14bd069bfed5346a66bb5a462beba7","375a0731a0be66e438a83de7958ab324","0b9656f19e39a834aae42365d9be1211","a733f478fa65c2b47ada37c92f312924","9101a4b52d7adbc40aa7a975fdce62df","603caf64671c4b046b1d3df728babfa4","b1e4ee725fad68a449f7350abdae0c3d","86cea4b0d96fa0f4ba3ba8b150c763b1","5c064f96101d3594a8e5e6d779c6bc44","553cc9eef3b4a194dbd7406b6d5ac784","7405de2706bcd1f4199acb563fc8c844","86c0fb2e6b6ec6b44b3b26d260421487","0997fea176229b04e9a9aa6e20cad6e2","70f4a2c3061d1b945817b989f3fa0ed3","fffa89cc0dc14374eb4c64f4b6ccdbbc",""]}'
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 10.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 10
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1074271775

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 10.asset.meta


fileFormatVersion: 2
guid: 553cc9eef3b4a194dbd7406b6d5ac784
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 11.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 11
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1078676181

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 11.asset.meta


fileFormatVersion: 2
guid: 7405de2706bcd1f4199acb563fc8c844
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 12.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 12
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1078856165

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 12.asset.meta


fileFormatVersion: 2
guid: 86c0fb2e6b6ec6b44b3b26d260421487
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 13.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 13
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1075667088

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 13.asset.meta


fileFormatVersion: 2
guid: 0997fea176229b04e9a9aa6e20cad6e2
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 14.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 14
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1074985632

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 14.asset.meta


fileFormatVersion: 2
guid: 70f4a2c3061d1b945817b989f3fa0ed3
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 15.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 15
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1081528291

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 15.asset.meta


fileFormatVersion: 2
guid: fffa89cc0dc14374eb4c64f4b6ccdbbc
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 2.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 2
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1079790639

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 2.asset.meta


fileFormatVersion: 2
guid: 375a0731a0be66e438a83de7958ab324
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 3.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 3
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1080146451

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 3.asset.meta


fileFormatVersion: 2
guid: 0b9656f19e39a834aae42365d9be1211
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 4.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 4
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1080974540

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 4.asset.meta


fileFormatVersion: 2
guid: a733f478fa65c2b47ada37c92f312924
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 5.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 5
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1077024277

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 5.asset.meta


fileFormatVersion: 2
guid: 9101a4b52d7adbc40aa7a975fdce62df
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 6.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 6
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1078744877

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 6.asset.meta


fileFormatVersion: 2
guid: 603caf64671c4b046b1d3df728babfa4
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 7.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 7
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1080204027

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 7.asset.meta


fileFormatVersion: 2
guid: b1e4ee725fad68a449f7350abdae0c3d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 8.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 8
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1081760534

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 8.asset.meta


fileFormatVersion: 2
guid: 86cea4b0d96fa0f4ba3ba8b150c763b1
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

25
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 9.asset


%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: b2686e09ec7aef44bad2843e4416f057, type: 3}
m_Name: Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 9
m_EditorClassIdentifier:
m_Version: 1
profiles: []
profile:
scatteringDistance: {r: 0.5, g: 0.5, b: 0.5, a: 1}
transmissionTint: {r: 1, g: 1, b: 1, a: 1}
texturingMode: 0
transmissionMode: 1
thicknessRemap: {x: 0, y: 5}
worldScale: 1
ior: 1.4
hash: 1074030885

8
Assets/1stParty/HDRPAdditionalResources/Spotlight_Tunnel_Diffusion Profile Settings_Profile 1_Profile 9.asset.meta


fileFormatVersion: 2
guid: 5c064f96101d3594a8e5e6d779c6bc44
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

8
Assets/1stParty/HDRPAdditionalResources.meta


fileFormatVersion: 2
guid: 9b7866c10f82a3e4b9cac5ed8bbc8b3c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

91
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep01.wav
文件差异内容过多而无法显示
查看文件

16
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep01.wav.meta


fileFormatVersion: 2
guid: 42e65e088b3f4374e851b8dbd38f3df9
AudioImporter:
serializedVersion: 5
format: -1
loadType: 1
quality: -1
sampleRate: 0
forceToMono: 0
preloadAudioData: 1
loadInBackground: 0
overrideSampleRate: 0
optimizeSampleRate: 0
3D: 1
userData:
assetBundleName:

88
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep02.wav
文件差异内容过多而无法显示
查看文件

16
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep02.wav.meta


fileFormatVersion: 2
guid: 8bc94ec6ed537e743b481638bdcd503d
AudioImporter:
serializedVersion: 5
format: -1
loadType: 1
quality: -1
sampleRate: 0
forceToMono: 0
preloadAudioData: 1
loadInBackground: 0
overrideSampleRate: 0
optimizeSampleRate: 0
3D: 1
userData:
assetBundleName:

108
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep03.wav
文件差异内容过多而无法显示
查看文件

16
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep03.wav.meta


fileFormatVersion: 2
guid: 5a9383dda6cabc047b7a297602e93eb4
AudioImporter:
serializedVersion: 5
format: -1
loadType: 1
quality: -1
sampleRate: 0
forceToMono: 0
preloadAudioData: 1
loadInBackground: 0
overrideSampleRate: 0
optimizeSampleRate: 0
3D: 1
userData:
assetBundleName:

97
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep04.wav
文件差异内容过多而无法显示
查看文件

16
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Footstep04.wav.meta


fileFormatVersion: 2
guid: e9714160ce34f2b4ab63ff8c27bd68e1
AudioImporter:
serializedVersion: 5
format: -1
loadType: 1
quality: -1
sampleRate: 0
forceToMono: 0
preloadAudioData: 1
loadInBackground: 0
overrideSampleRate: 0
optimizeSampleRate: 0
3D: 1
userData:
assetBundleName:

132
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Jump.wav


RIFFZWWAVEfmt D��Xdata6WB�� �]�����������F�A������������q���L�x�����������������$36�<-������_�������emd-���%x����;�CIf����g�/O���Y 
M

B
v
p
u � � � � � g � 9  [ 6 � � & �
/

&
0
1
m �� � 
� � �   v � 2 : Q ? F � � =  �; � G V � � � / ������`'�^hdf�y0#?G�L���(�)y'�V ����C������������x���3�`&�A�� ���v8 r
 L d��������S���� ����u��(�/: 5E����������_���k��c���L���g����y�^�5�����f�B���yd�iv�AU9e��$�6�cQ>qXAz������>����Y � ��C��w�����G�9�x���:�>���_�����{�_�&�����v����H�-���������a�@���,�������|�J���(��&�P�.���������;�c�W�
�����q���������,���J�����@���/���#�$�J�T�s���^�����P�s�����������v�������j�i�'���+�������m�2�����'�E�������1���!�����n�S����]���}�M�.�ސ�S�p�a�kݪ� �u���y�Cڄ���I��צרק����-ؚسع�j�N�h�d�5�8��m�0��֔�ֲַ�Oֲ�L�T�:�K�L�p��Ւ��ԳԖԭ��ԓԥ��Ԯ�qԂԕ�N����պՓյ�������՘���0�4ֈ��.�Zט׋ׄ���0���&���J���lڰ�ۈ�|�߁�����E�����١Խ��I�������z���eƅ�9���������]�����A�+� �;�,�Tݏٛ՜ѝ�΃������֝��P��������������A�^� �����������K���5�K�����Hްރ�`�����������x�f��ކ�1ޅ���#���r���D�u���-�����3�P�V���G�W��^����E�<��������������~�^�j� ���q�����p��a�������������;���������o�7����������>z���>��z���0� �
� � � � Z � w  / �
2 � = K ��r����+ 6��b�fB�-���1[n��=�xw����KC��c��=��./�{L���pXp���(Ma2�)Y�8 � `  � � !�!�!�!!"b"�"�#*$�$�%�%�% &�&�&
'H'�' (�'(�(�(�)@*�*.+�+�,�-�-�-�-�-W.�.�.�.G/�/�/�/,0�01�0�0x0�0X0�/�/r/g/�/�/�.�./�./�./u/%/�.w.�.�.�.W.�-M.r.G.�-�-D.�.�.�/0�/�/�/y0P0+0�/�/�/C0s00 0�/�/�/�/X/�.E.r-=-]-N-�,�,�-�-5.�.:. .<.k.�.�.�.�.�.�.�.=/�/�//@/�/v/w/�/g/4//*/q/G/�.�.�.u.�-�-�-&..�.7//P/�/r/�.�.�.@//�.}.>.`.�./m/�/�/n0)0�/,0�/�.�.P.".8.T.�.f/;/�.�.$/[/;/h/�/0�/�/;0v0�0�0�0�0�0�0�0�0400�/�/�0�0�-�*�+h-�,�+�(u%�"5C�.� ���
�w���%�<�����5���m��������,�[�t�z����-�X���������U�&���������� fW0� $A'>*).3&7�;A�F1M T�[�c�k�s�{����������������������������������~�|�z�w�tFs�p�m�j�g�d7a�]�Z�V�RPOvK�G�D�@�<09_5-2�.�*�'%J"�Gl :9����l�i e!]"D$�%"'�(l*n,.�/�0*2C4�5�6h7p8�8*9,:`;*<X=q>?�?�@mA'BCHDCE F�FGqGYH�H�I�K�K
L�LHM^McM.M)M�L3L�KK<J�IdI�H�G>G�F�EE�D�C�C�C�C�C�C
D>DD�CCC�BwB�B9B�A�AOAA\A�A�A�AA�@SA�A&B}A�@e@�@�@&@@@�@YA}AA0AAAA�@v@KA�A�AA�@�@�@�@>@2@�@�@�@�@�@�@8A�ArAA�@�@K@3@�?�?`?�>7> =r<1<�;\;�:$:�99%9"9�8C8�7�7�7q7�66�595e4�33�2�1�0t0i/�.9.r-�,h,�+;++�*�*�*D**e*�*�*�*�*�*�*R*H*b*Q*�*+�*�*�*+�*Y*a**�)�)E)�(|('(%(�'n'Z'H'�&�&*&�%=%�$�#M##�"�"f"Q"/"�!l!� � R �%��H��#Ks�W�p � �*;��"��x�#&���A�i� � � � H S r �  n
  )
� l R  � ������DFn�J�cNz�H�&��A��~�y����5�������e���Z������������e�L������� ������� �����"���U���/�����i�6�Z�����}�U�j������ �����3�������'��6�t���]����� �����=���G�7�:�*�Q�`���|�X�P�����4�a�������0�������������x���������|�W�����������������~��������������L�G���������������c��������������1� ���������q�U�$���z��(� �/�d���������k����� �*�����P������t�����0�i�����$����������O�����4�x�������������"�{�������������L�����������c�?�����q�T�D��=�K������������������K�����=�����p���������������F�������k�^���i�7�;���<�����6�����0�C�P�������������3�$��������p�\�/����K�3������������O�c�<�����������M������i�����������V���� ������
�m���n�?�L�g�L���������X���p�1� �0�c�M�Y�Y�d���������z������������i����������h�������G�e�:�G���Q�4�T�@�I���8�������� �>���u��������������W�m������� ������������������������>�A�����R�&�������Q����k����������t�����r�#�����~�������d������+������8������7���������j��J��������/��i�����������{���:�~������������/��s�������N�����������U���g�d������v�p��������������[���3�����������������?�P�� �k���������L�,�W�T�����_�������S���N�A�g���I�������Y�6f}��`�|^����,�$���� 9L������������n�P���e � � !
8
f � � � � � " � � � �  � :h��"�7�8T{5?���0�Ki��+���I���(��� [)OqM��������CB��E�G�h\�O8Vh���� ��P�@-��q:$�n@���Z\x��h�����,%������k�^Ooo�c�D���uQ[�,Gf�`i\���W}��ov� �����=F�r��;8I����Wh6c�kK�����))kH��F�D��oV_^��~Rb�'�sRD��A� _ \ 3 � � S > � � 9 � � � $� � � ^� 
� % � � � m �
r
�  0 -  � � � � � � � #
*
� N
T
V
{
� � "
� h �� �X�<�����ZPJ7A�����l9�������jg�ATFF�W{VC]�X�N���7Yt�v����������r����]�������i�a�W��������>���������e�4�/��� ������������(�%�:���h�>�1���[������j����������������������@����������� ����r���p����Y� �����y�����?�����a���r��������u��������V���������I�����\�B���6�j�_��0���������R��� �T�r�����'�G������m���6�U�s�G�u���{�����������S�|������/�n�9���H�m�M�Y�M�>������J�����C�5�����f���4���f�7�����)�+�'�2�������������N�j�����6������M���������=�@�7���{�3�,�7�������������������o�1�������>��������������������,� �����d�m�����#���h������l� �����T���b�t���J���������!���"��������������f�S���������t���������3�[�Q�����c��� ���Y��������������������������������_����X�����\�����&�.�H���J���������}�)�-������������������r�p������?�G�0����T�G�\���C�~���=����� ��������P�"��G�x�������G�u�h�y�������'������d���I�@�o�����������~����/���������]���0�������������������8� �w�������s���������������>���\�����K������������������������� �t��������n���;� R<66 hOT>�$����,����������������i�E�c�k��j�e������L���e������������o�Y�������������t���N���;���O���1�5�2�����k���}�����`�������3�����p��~�[�:�������G�k�L���!�$���
����� ��L���:�M�����:��������s�@�:������(�� �g������$���)�[�������9����S����������
�������x���������������j�������������u�������\��������������������y�M���� �������7�����e�b���l����$�������7��F�:�r�r�����;�����������Z�����������r����i��߈� ������ނ�S�����J�"�ܖ���\���Q�P������s���xց�k֗������ԡ��t� ���`���v���L��϶��(�9ͪ����|���&��ɲɏ��:�tǞ� ��ŵŢ�i�����!���Y�������Z�@������������~�[���E��� �Խ��0�$�����ﻖ�л��t�ֺI���'������O�����{�#�����ʵ��N�-��H�]���������˳ٳG���y�[�ݳj�C���ڲ �<������?�T���_���K�R�Ʋ̲��v��� �β���� �ȱ��6�|�̲�|�I������9�L�H�7�9�r�(���쳠�������k�˲��x�W�ƴ]��|�-�^�糊�l�����y��:�P���������͵4�V�+� �ൎ���������յ��ε����P���
�ҵ��(�-�H�p���ϵҴɴ����.�l�X���_���Ҵ��Q�=������������b�-�-�G�%����d���s�t�洟���<���{�g��� ���[����>���ɶ�����ʹ[�ݶʷZ�3�l�:�7����$��۷϶��ٶͶI�߷s�иϸp�Ӹb�����#��� �����Z�Z�]�ֻ��ۻq�U���p���H�s�T������y�âñ�-�(��ǫ�q�����˧�Sˋ���̗���:�?�_�BЁСќ� ��әӨ������s��&��ٗ�����]پ��2�J�U��ܹܲ�{�K�����{�<� �)�{�D��h�Q�G�1�_�1���� ��ݦ�K߻��ߐ����{�'�ޕ�-�f�-�M����wߙ������߲�+����L�D�����B�������[����(�#�V����Q���0��������t�G�����4��@�N���2�?�B���B������0�y�@މ����ޘ�*ާ�k�,޸��,�����J݁ݥ������Nކ�C���y���2ޤ�rݤ�,��ލ���q����� �G�����`߻���
����d���hޠ�4߭�~�����Qߨ�h�;ߕ�e߫ߔ�����E���{��ބ��݀��������pߟ���4������/�T�9������ޱ�Lއ�/�7�:�Q߄������N���L�D����}���u�X�Q�;�����<������%�+�����C����}�w����2�������������j���V�t�����5���������������������� ��������K���0��������1�q�����������<�C�H�}�?����� ��� �������������r���w�K�Z����������6߀� �������d�'ߐ�,޼����������ߊ�N�����������p�L�0�����N�)�����8�V�;����w�����L����L�T�����������g����H�j��� �,�����|�#�x�������0���O���x�G�}���������L������������������0�^�-���0���%�7���R�8���y���O���i���M�����������q�S�.��TU���B�n�l��~� ���fH
t
T e ? !,��b��?���Nn�w�%��<�K�WIQ�Z�:[���l �!u"6#$,$�$�$% &'�'�'�'�(�)Q*+,�,g-�-�-�.@0Q1'2�2�34�4�5�676�5�5�5}5:6�6�79�9 :E:�:�:�;[<&=R>t>�>�?�?{?8@c@�@A�A�A B�A�A�AmB�BIB BUB*BGBhCjD�D�D�D�DEQE�E�E6F�FG�F�F�F�F=G�GH�G�H�HmH�HRI�I�I6JmJ�J�J5KKFK�K�L�L�L�MN?N�N�NOpO�OKP�P�POP#PPCP�PVQUQvQ�Q R�QaQ�Q�QgQ�Q�Q�Q�Q�QRR;QQQ�QTRR�Q�RsSsS]S�S�ST9T�T�U�UsU!U'UVtV V}U�U�V*W�VW�W\W�V9W�WVXY�XY�YtY�Y�YlZ�Z�Z�Z�[u[h[ \�[\�\�]^n]�\�]*^W^_z_�_�_�_j`ao`5`6aja�`6abDbxbcc�b�c�d#d�c�d{d�cd~d e?f{f+f�e@e�e8f�f(g�f7f�f gqg�gh�h|hQh�h�i2j�i�inj�k�ktk�kglnl�k@l`mhn�n�mpmjn�n!n�m�n�n�n�n�n�nosn?nn�nro�o�pp�no�o�o�op�o;p�p�o�o�o�p�pp^o�oPpppkp�o�o[p�p*q q�p�p'q�p�p�p*qkqNq�p�p�p`p�p�p�p�pp�o�o1ppvoooo�n9o�o�o�o;oIo�o�o�o�o�o�n�n�n�n�n[n
n�m�m�m�m�memFmIm�l^l>l)lYl�ll�kl�k�k k�j�j�j�j�j�j�j�jdj�jUk
kkjkkk}ktk�kFll�l�m n�no oZo�o�o=pep�p�pqeq�q�q�q!rDrHrrUr�rQr�r�r�r�r s/sWs�s�sFt�tmt�t�t�t u!uu5uPunu�u vyv�vav�v�v4v<vPv�uvhvvFvTv�vFwxw�w�w�w�wxx�w�w�w"x!x�x�x,y�y�yJz�z{A{�{�{�{$|L|}|�|O}E}z}�}�}�}�}�}�}�}�}�}(}!}�|�|�|�|�|e}`}�}�}~�~�~�~�~�~�~�~�~M0'�~�~�~:~�}%}�|�|/|�{�{�{�{i{5{{{�zpz"z�yFy�x�xXx'x�w�wWww�v�v�vovQv|v�vzv�v�v`v1vvv�u�u9u�tIt�sBs�r�r8r�qQq�p p�oHo o�nn�m�mkmimemm�lnl�k�k�k'k�jfj�i}ii�h�h�gbg�f[f�e�e(e�dfd�c�ctc�b�b`bIb�a�a�a?a@a,aa�`Y`8`,` `�_H_�^�^$^�]Q]�\]\�[d[�Z@Z�YY�X�X�WlW\W�V�V�VSV;V�U�U�UkUU�TuTT�S S�R(R�Q�P�O:O�N`N�MMHL�K}K�JKJ�IoI I�H�G�GpG�FRF�E�E�DD\C�B1B�AA�@@c?�>�>X>�=#=�<<�;D;�:h:�9�8Z8c7[6�5�4w3j2�1�0�/L/�..7-�, ,P+�*
*6)�(/(�'R'�&�%%n$ $b#�"�!� f y����|����F�#��^Rs�!���y��  | n �
�  ��.1#)Ih���������������-�+�������b�=�N���(�;�]�8��8�?�v������Z��������n���=���+�������ݰ����b�Z�nؙ׻�/���5ռ�9ԋ���4Ҿ�(�Cп�'�G�q������ʞɄȾ������c���{�İ�o�Ü������;�Ϳ��"�t�ǽ��s������6�����/���x�����Z�޳�� ���h����?�����+�ȯ��C���t�B� �ۭx��}��u� �誖�?�����R���/���"�X�����������������N�����������������>�P���ٙ՘;�Y���T���Ò������L�����p�;��t�����ڌA�Ћ������6�n���k�T������U���؃`�E������ ������������������<�Ӏ �Y�b���"�����s�������ςÂ�� �*���҂O�-�� �����6�w�k�i�=�7��ւc��������j��샟��7�����R�|����l���z�r�j�%�����䃴�2�����т��m���ۂ�Y���惶�ك�}�����L�������{���K�v�A�f���1���+�d�H���/�����������������Ȑ/�y���C���Β5�ܓ�����}��S�^�l� � �=�˗?� �M�B���&����v���������&��������W���G��[�m���:�]�q���i�v�`��ή���鰢�4��ʳ����E�5���������'�����E�Y� �}�����q����� �0��!ƙ�@�������Ȥ�]ɏ�l�������-�Q�A����i�p���"ɨ��ɛ�����2ʳ�5˷�̀�<�z�ϲϹ��Ѯҽӳ�E����֝����ؿ��ٱ��� ������E���������5�F�������y���K������6�\���E�#���1���9��y�����W�����\�9�����s�
� � � ����?Db��\��(��������X��|�y��9��_��� h!f"-#i#�#�#@$�$�%&�&�'�'(�(�(i)�)*7*�*�* +�*�*�+�+�+�+�,�-X../R0�//�/�/�0�1�1�2�3N4�45�5�6+6�5�6�6�5�566p5Y5�5u5�4~4 4s3]3�2241�0�0�0�0�0�0{0�0�0�0�0f0l0�0�0j1 2�1�12�2[3�45�4�4�435�5�56�6�6}6$6G6�5s4�3&43S2E2�1+1�0�0[0�/ /7/�.f.W-�,i,�+�+�+�**�)D)�(�(@)K)�(V(�(o(�'�'�'�'�'�&�&'�&L&&&&O&�%�%>&=&�%`%c%!%_$,$$�#�"�!� � � q�&:}���ON�qsT�����Y��_�a��`��Y>)��*��6��@�� I!9!!� � K!!{ �(�w]M�4lx���Ld�=�/�z���3�De=������������@=.\:����(��y��@u%�� � � �  � n � \ � � i � � E � � � � 3 , A  � G �
 � � | �
"
F
w
[ � � � � I X� �
'

hSm��B� Y�
� ���X WS�[w�1��" � � q
� � � X � �  � f ; � � � � � | � L z � � � : � �  � + 4 � � ; � ���:kI  � M F L �
z
} -3��KV�r'����������]�.�C�o�v���������@������5��������S����V�}���J���]��߫ޔ�q�Z���ڿ�%���pع��e���P�p�(Ԩ���IҜ�0��Ў�U���B���m�������4�.�-�sȀǖ� ƴ�6�@���#�F���6��I���OŃ���TƔƫ���QƶƵ���zǓ�v�C�X����0�>�,�C�~����������Ϳ�3�E�|ϯЦ��/�Ԛ�Q�a���Mլ����%�!���W���Dق�aډ�=�����ݾ޹���:�h�*���6�����e�n�N�Z�J���B���<�x�$����0���1������W�`����������{�Z���������%������N�n���;��'��$��N
o y��CVR�=���_��� -"�"Y"a"]#}$?%�%�&y'�'�'�(�)�)H)((*(�'A)�*+�*8*�)e*9+U,6.p/�/�/�/�/�/P/�.�.R.�.S/�/�1�3�5�7�9�:)<5>L@CA�ADB�BuC�D�F G�G�H�IVJ�J�J�K<LVL�L�LnM�MUN�N�L�J I�F�EME�DYC�B�B�A�@�?�>�<<8=�=g<c;@;X;;�9g9�8+7�5�4
4�3�3I3�2�2 2S11�/�.\--�,+�))y(K'�%�#�!!{ � k �(Pk�2 �g6�D���E  X ~��-����2���-����S�Y����������^�n����i�����>�5�N�5���Q��� �"��̬����̚� ��ȱ�lƩ���g�@�]��a��W��*ʂ���?��*ѨҞ��rս�����qۅܥ���e���[�����1���������?���������i�A��
���-�����&������^�;�!�1���
ݧ�j�٭؜��؁�ؔض�}�:���s։�\����Ő̀��ܞ���r�|������È���������k��������������d��h��fv�!>&�+�03�2�/�*�%U z3@��
[��������N�/�����������G����ؕՓ�0�^�hė�پ�����5�e�J�Q�������!���ɤ����Ӧ����ժ��ɮ��˲��'�K�.�.������Lˬ�����'�\۹�4�����h���k�����x�I���k� ��h��
� * �  ) L � ��o.Fg���������x����z�n����"�E�������M���B�����������<�C�a���ޙ��۰��ٹ����]տ�Yԝ�yҴ���k� ҵѭ�]���r���ς��U��f��ԊԵ���C�-�v����,� ��������������F���N�*��������_�,������v�����A��������:�F����������6�;�,������&�j����������+�6�����F�d�M���V��������q�������C������������l���������K�������D�A�R�������'�����������+��/��������R�}���*�B���5�������������q�����������������o�����������-������X�a�L�����'�`�R�t�]���f���D�����������r�\���� �����+�6�+�O��b���f� �<����y���0������#�����=�������"���.�����]�����y�B��������������f����O����� ����{�����T�4�������M�����]���,�Z�e�K���� �p�T�������+�����y������P�+ S a � � � n
>
r
z
}
{
 � � � � � � i I v � K �
� �p!�J�y�}9S�*[$�0�"��P ���e��0���W������7�h�����������������������7���]�����m���=�8�d���8���k�;��������������������%��l�h���a���.�k�����.����ރޛޘޤ�*�/߇����������������<�����W�;���g�Pߍ߹ߑ�p���@�bޣޛ޽�R޸ݯ� ������ܻܹ܅��+ܡ���}܇�����{܆ܱ�;ܑ�\ܸ�@�-��۝�a�b�>۰�Q�h��ڿٵ���I�o����^��M�i�A�-��[�f�[����)�_۞���Tۈ����ۺۻ�ܕܦ�$�v�Sݔ�S��S߻�>�������p�������������l����t�����h���W�������������"�!���U�R�O�����K����� �K�����[�X�p�����#�&�j�8����+����w�#�������������{���S���]�����u�X����u�,� �����j�O��������m�m�\�����8��Y*���%l�F��� � � 1
?
H
b
G
|
n
]
P
? � X � � 7 � � 9 �
n d D = ^ � O�UNu��Y�!�5����H���8����t��L�m�Z�F�Q�' � 9 � �! "�"�"4#�#�#�#:$*$ $$�#�#$�#�#�#H#�#!$?$�$8%%�$*%%�$$%D%�%&F&�&�&�&a&y&�&�&w'�'�'X'V'C'k'�'8''|'�'�'(�(K))$)�)t)�)�)�)a)d)).)�)H)*)a)�)b);)1)�)�)**1*�*Q*�*`+�+,o,p,,,Z,q,�,�,O,3,�+�+,,.,�+�+E+[+,,�+4,�,"-b-�-�.D/�.y.�. /X/R/�.//`/�//�/�/�/�/0�/�/>0�0�0+1�1�111/1f1�1D22�1�2�2v2w2�2�2�1
22�1�1 2�1�12�1 2�2�23�2�3G4}4 5�5I5;5M5z5?6�5�5�56�5e5�5�5�5�5�56q5q5�5z5Q5�5�5M5Q55�4�4~4`4C4�4�4t4K4�3�3�3w3
3�2�2�2�2�1�1.2�1�1�1O1�0�0�0�0�00L0 0C//�.�._.�-�-�,�,�,N,-,_,,�+j,�,`,q, -�-�-�-+.�.@/�/3/4/V/�.�.�.�.q.�.�.�-�,�,�,�,�,+,,�,�,H,],�,7,�+�,�,�+�+�+�+o+�*-*x*v***$**�)�)�)!*�)�)�)0)�([(>(�(^(D'�&R&�%�%�%�%�%�%%�$�${$N$�#S#�# #_"�!�!�!4!� � % ��UN�%����4�=�u"����I �m_L��b�I�y����^kXF�������a��c��4���A+�LUgF6/�UT���T.j ��Z��T���4���i�u'����_?� � | ; +  �  �  � � { �
i
s
� � � M � ��P.�:.<��R���v�10���!��<�|�p���8���������R� ���F�����8���A������-���5�������C�#���c��������g����r�������c�N�f���c�����1����������������^�q�����J��f�P���R�@�������}�:�9������\�^�������:�:��'���������������x�d�C�(�{�1��� �����������������7� �<�B���,�����%�P���������<�5�W���E�8�H� �S�����l��6������������ ���i������C�Y���6�S�B�N�������/�������U�����,��y�g�V��������������3�������N������:�$���|�{���M��k��������������x���\��M���������������I�E�"�(�g�z�z����J� ���a�2�#�b��>������r�)�0�����y�+�3�{�������z���s��7�������>�����`�������������'�O��k�������n�S���6�����d�P�+���������R���������5������8�U������������D�}�w����������������.�O�|���)�d�r����������&����9�&���7���/�����������]��������������!�k�������l�������~�;���
���������,�]���8�3�/�@�I�'�&�q�����q�����=��"�<���w���!����u�����N���� ��l���d�����������������������!���R���0�r�:�����4�-��������� ���)��������������������x�Y�2���\�a�X�R�)� �G�N�G�����w�T�|�q�������������������o����������������������z��� �������������Fw`oX*W�������3  $5Zc$��\���vOV����f������" ���}MoD��������������w�������������������h�F�r�X�@�;�]�������>V���� iV8[��}Yj����������TM<��Od�y&'+(>sD0,!�����I=]GRtnQ��������C���� p*������
VLV����������������������������9G7>84��Pn`�x'U[}s����Cd2z�s^Z��������/���� |����zP[3^7��w���k��������\p���tlTcPdC#oBKR�B��>Y���u]S�bGl��������� ��^g�:������0�������?9 3WS{���stc���T�����O��� ��ax_V����zc����Y]��&�������G#c���2GV: �%F���OT>fH$, � '�����+N���)jlXC������������d��l����c�������E�>����� F���9#�#�7�2���  ) uW���
�������������*G�� �='��JAk ��K���R �����!���<SDj��c�{leO%]��il>�����G/������ JkYA*��V>#�,��?($`�������t��������W��}���q@N��H\��TH���Yb�j��qr�AL�������}po������������������������uc��C\����|.}��q[D���������
8����T~���IJ����u��px����zN�������L���{"mvH��,Vr?Cr�rN&��|s���������U��x���v����H���0%#"������� ����NOC����:bM.Q����6]3��� ='�OI��'5d<��
�����|����p��boU������������1.$1=���������������������� ��������d� ��������E=����������.��������������������������������������������YZ"��JWJ������5�x���������������������������������������������������������l���������m�V�h�����G�6�_���w�e�7�I���n�G�r�v�-�������G�!�6�M����0�W���t�+�D�h�e��`���)����=�,�:�e�'���������Y�r�%���������2���m�z�x�v�Z�A���r������3�R�^���~�U�J�S� �+�7�������/�������� �-�v�B��������.�$������E�<��� � ������?��1�E�G�A� ���:���������>�4��7�c�f�i�����u�X�:�g�����]����� ����A�������������2���������u��� �������������0����� �������8�>��������0�e�������������� ����������6�^�D��a�n�Q� � �C�=��3�;�������/�h�s�S���c�b�M�l�}�T�D�+�>�@�<�>�P�~������>�S�e�P�c�����Q�%�|���|���r���~���=���������~�������������E�\�v�����Y�)�J�\�����C�������������"�����C�4�������*����$�:�y�i�p�r�f�+�h�����u���}�K�O�t�������������j�X�?�H�g�o�_�U�r�����}�_�p�s�����������������������u�n�{�����������������������������~e_mgG9TXW4([^ANTXl�{���������������
�����������������uc�������������)7�������imJ(�IS63�o+Wo- N��v��cAk������w���h��lT��\BGHL:5l�?Ec7B;Q1PHI8":%�Nmr,�#G �� !Sd�%)����.b?/6_Z]��JAUNRc7S��eGT%��fh# #8Y> 6;HbzTB;��b_L� 32S�K
�������������^T^f��/����lg2%>.����H������A������-����������c�|�z���W�)�Y�U�6�"�/�9�x�d�0�S�.�/�*��������������������2��!��������������(�������������x���b�]�T�Z�u�Z�/�#���Q�J��,����I���!��������������'�
���������������������o�w�����|�U�M�j�~�i�5�4�:��"�:�O�M�;�C�]������������(�"� ��� �������)�S���������� � ������������� �2������i�X�B���������H�[�����u�~���������u�������������|�������������L��C�i�R�2�*�U���j�X�k�|�����q�F���h�0�K�s�\��0���X�5�^�>�;�P�����~�����`�}���������f�W���������������o�{�c�R�k�1�9�2���&�@�U�;�4�2�(�M�b�����c���R�
�G�q�k�d�y�>�*���p�V�L�r�v�l�����������9�J�����n�q�z�n�:�!�t�����������������v������������������������������������������#�����������������1�d�H���a�-���(�B�J�q�N�%�%�$�l�T�Z�c�E�b�e�����������������z�0�L�������������������������������������#���������P�j�.�'��,�A�r���Y�H�<���-���0�J�W�� �a�����I�E���������������������+������<�L����-�n�3������*���l���J� �_�u�]�[�X�P�L�P��?�7�'�(�0�s�y�p���U���d�?�������`�?��������������������� ����������������������������������������������
������<
)$(0IR2* ����&&4G<5vc��\n5#(QU/���|C'Y��anp�0 !7M�� ])��QdJ0��1 oxP�r/:\@%>`Z9hG+<9CEr��%X�"i`I<Jf�kh������w;x�nU\�����~���I�������������d��x���q�����������������IP���Li�����6�|���������������������������&����������������{e�������x������k����}eAr_Gj�R�n����6bE����X�k����������$����������������������" D-0-����������������������������������������������g�������������������������n�c�����f�j�[�����v���9��2�����e�����w�x���q�������m�Y�l�N�=�3�G�O�Y�s�����w�a�E�V�������i�V�y�o�j�������������y�`�f���r�v�N��C�Y�~�M�Q�v�s�S�L�����������������������Y���������������������������������h���������������������������������������������������������������������������������������������������������i���������������������������������������������|���������U�f�~�|�������v�Y�P���������_�M�K�g�g�W�K�=�D�b�����}�m�S�d�q�l�x����V�T�u���d�W�;�X�������_�i���������������w�w�@�*�X�]�\�Q�z�~�=�&�R�V�)� �M�E�4�f���y�<�K�P������������s�B�F�����h�K�:�M�1��0�J�_�C�y�?�2�f�����@�5�)�J�_�K�d���\�w���E�X�M�]���������������������������������������������������������M������J0&4.Nq`un�KLzZ�|z���ovz���fJAD_m}tyuu���|dl��qp^Ej������u���z������

16
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Jump.wav.meta


fileFormatVersion: 2
guid: 5897aeed9b676024fbb8c694b421a861
AudioImporter:
serializedVersion: 5
format: -1
loadType: 1
quality: -1
sampleRate: 0
forceToMono: 0
preloadAudioData: 1
loadInBackground: 0
overrideSampleRate: 0
optimizeSampleRate: 0
3D: 1
userData:
assetBundleName:

233
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Land.wav
文件差异内容过多而无法显示
查看文件

16
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio/Land.wav.meta


fileFormatVersion: 2
guid: 3b09d59f4499d45428baa7a21e954296
AudioImporter:
serializedVersion: 5
format: -1
loadType: 1
quality: -1
sampleRate: 0
forceToMono: 0
preloadAudioData: 1
loadInBackground: 0
overrideSampleRate: 0
optimizeSampleRate: 0
3D: 1
userData:
assetBundleName:

6
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Audio.meta


fileFormatVersion: 2
guid: 2dac79461900e0f4c93561031c2e6902
folderAsset: yes
DefaultImporter:
userData:
assetBundleName:

18
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/FirstPersonCharacterGuidelines.txt


The first-person character is a single prefab which is designed to be used as-is. There's usually no need to create your own from the separate scripts provided. Just drop the prefab into your scene and you're good to go.
The simplest way to get started with the First Person Character is to follow these steps:
1) Start with a suitable scene. There ought to be enough flat ground to walk around on.
2) Place the "FirstPersonCharacter" prefab in the scene.
3) If present, delete the "Main Camera" that exists in new scenes by default. The First Person Character prefab contains its own camera, so you don't need the default camera, or any of the camera rigs to use it.
The first-person character is made up of a few components acting together. The FirstPersonCharacter script provides the functionality of moving, strafing and jumping. The SimpleMouseRotator provides the functionality of turning the body of the character left and right, and another copy of the same script on the "FirstPersonCamera" controls the looking-up-and-down effect.
There is also an optional "Head Bob" script which provides a head bobbing effect and optionally also plays footstep sounds in sync with the head bobbing. This script can be disabled or removed if required.
There are a number of simple adjustable settings on each component allowing you to change the movement speed, jump power, head bob style, and more. For more detail about each setting, see the comments in each script.
The Character script also requires references to "zero friction" and "max friction" physics materials. These are provided already set-up for you.

5
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/FirstPersonCharacterGuidelines.txt.meta


fileFormatVersion: 2
guid: bc9b000e9b8028247bd816e159382646
TextScriptImporter:
userData:
assetBundleName:

383
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Prefabs/FPSController.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &100000
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 400000}
- component: {fileID: 14300000}
- component: {fileID: 11400000}
- component: {fileID: 5400000}
- component: {fileID: 8200000}
m_Layer: 0
m_Name: FPSController
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &400000
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100000}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 400002}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!143 &14300000
CharacterController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100000}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Height: 1.8
m_Radius: 0.5
m_SlopeLimit: 45
m_StepOffset: 0.3
m_SkinWidth: 0.08
m_MinMoveDistance: 0
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100000}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 05ec5cf00ca181d45a42ba1870e148c3, type: 3}
m_Name:
m_EditorClassIdentifier:
m_IsWalking: 0
m_WalkSpeed: 5
m_RunSpeed: 10
m_RunstepLenghten: 0.7
m_JumpSpeed: 10
m_StickToGroundForce: 10
m_GravityMultiplier: 2
m_MouseLook:
XSensitivity: 2
YSensitivity: 2
clampVerticalRotation: 1
MinimumX: -90
MaximumX: 90
smooth: 0
smoothTime: 5
lockCursor: 1
m_UseFovKick: 1
m_FovKick:
Camera: {fileID: 0}
originalFov: 0
FOVIncrease: 3
TimeToIncrease: 1
TimeToDecrease: 1
IncreaseCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 1
inSlope: 2
outSlope: 2
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_UseHeadBob: 1
m_HeadBob:
HorizontalBobRange: 0.1
VerticalBobRange: 0.1
Bobcurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.5
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.5
value: -1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
VerticaltoHorizontalRatio: 2
m_JumpBob:
BobDuration: 0.2
BobAmount: 0.1
m_StepInterval: 5
m_FootstepSounds:
- {fileID: 8300000, guid: 42e65e088b3f4374e851b8dbd38f3df9, type: 3}
- {fileID: 8300000, guid: 8bc94ec6ed537e743b481638bdcd503d, type: 3}
m_JumpSound: {fileID: 8300000, guid: 5897aeed9b676024fbb8c694b421a861, type: 3}
m_LandSound: {fileID: 8300000, guid: 3b09d59f4499d45428baa7a21e954296, type: 3}
--- !u!54 &5400000
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100000}
serializedVersion: 2
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 1
m_IsKinematic: 1
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!82 &8200000
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100000}
m_Enabled: 0
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 0}
m_PlayOnAwake: 1
m_Volume: 1
m_Pitch: 1
Loop: 0
Mute: 0
Spatialize: 0
SpatializePostEffects: 0
Priority: 128
DopplerLevel: 1
MinDistance: 1
MaxDistance: 500
Pan2D: 0
rolloffMode: 0
BypassEffects: 0
BypassListenerEffects: 0
BypassReverbZones: 0
rolloffCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
panLevelCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 0
spreadCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
reverbZoneMixCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 0
--- !u!1 &100002
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 400002}
- component: {fileID: 2000000}
- component: {fileID: 8100000}
- component: {fileID: 12474086}
m_Layer: 0
m_Name: FirstPersonCharacter
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &400002
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100002}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.8, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 400000}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!20 &2000000
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100002}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5
m_Depth: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!81 &8100000
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100002}
m_Enabled: 1
--- !u!124 &12474086
Behaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100002}
m_Enabled: 1

5
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Prefabs/FPSController.prefab.meta


fileFormatVersion: 2
guid: 5e9e851c0e142814dac026a256ba2ac0
NativeFormatImporter:
userData:
assetBundleName:

408
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Prefabs/RigidBodyFPSController.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &100004
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 400000}
- component: {fileID: 2000000}
- component: {fileID: 8100000}
- component: {fileID: 11400006}
- component: {fileID: 12410568}
- component: {fileID: 5073338485111564559}
m_Layer: 0
m_Name: MainCamera
m_TagString: MainCamera
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &400000
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100004}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.6, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 400002}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!20 &2000000
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100004}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5
m_Depth: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 0
m_AllowMSAA: 0
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!81 &8100000
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100004}
m_Enabled: 1
--- !u!114 &11400006
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100004}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 83c81407209f85e4c87c0cda8b32868e, type: 3}
m_Name:
m_EditorClassIdentifier:
Camera: {fileID: 2000000}
motionBob:
HorizontalBobRange: 0.1
VerticalBobRange: 0.05
Bobcurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.5
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.5
value: -1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
VerticaltoHorizontalRatio: 2
jumpAndLandingBob:
BobDuration: 0.15
BobAmount: 0.2
rigidbodyFirstPersonController: {fileID: 11400004}
StrideInterval: 4
RunningStrideLengthen: 0.722
--- !u!124 &12410568
Behaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100004}
m_Enabled: 1
--- !u!114 &5073338485111564559
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100004}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 23c1ce4fb46143f46bc5cb5224c934f6, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Version: 7
m_ObsoleteRenderingPath: 0
m_ObsoleteFrameSettings:
overrides: 0
enableShadow: 0
enableContactShadows: 0
enableShadowMask: 0
enableSSR: 0
enableSSAO: 0
enableSubsurfaceScattering: 0
enableTransmission: 0
enableAtmosphericScattering: 0
enableVolumetrics: 0
enableReprojectionForVolumetrics: 0
enableLightLayers: 0
enableExposureControl: 1
diffuseGlobalDimmer: 0
specularGlobalDimmer: 0
shaderLitMode: 0
enableDepthPrepassWithDeferredRendering: 0
enableTransparentPrepass: 0
enableMotionVectors: 0
enableObjectMotionVectors: 0
enableDecals: 0
enableRoughRefraction: 0
enableTransparentPostpass: 0
enableDistortion: 0
enablePostprocess: 0
enableOpaqueObjects: 0
enableTransparentObjects: 0
enableRealtimePlanarReflection: 0
enableMSAA: 0
enableAsyncCompute: 0
runLightListAsync: 0
runSSRAsync: 0
runSSAOAsync: 0
runContactShadowsAsync: 0
runVolumeVoxelizationAsync: 0
lightLoopSettings:
overrides: 0
enableDeferredTileAndCluster: 0
enableComputeLightEvaluation: 0
enableComputeLightVariants: 0
enableComputeMaterialVariants: 0
enableFptlForForwardOpaque: 0
enableBigTilePrepass: 0
isFptlEnabled: 0
clearColorMode: 0
backgroundColorHDR: {r: 0.025, g: 0.07, b: 0.19, a: 0}
clearDepth: 1
volumeLayerMask:
serializedVersion: 2
m_Bits: 1
volumeAnchorOverride: {fileID: 0}
antialiasing: 0
SMAAQuality: 2
dithering: 0
stopNaNs: 0
taaSharpenStrength: 0.6
physicalParameters:
m_Iso: 200
m_ShutterSpeed: 0.005
m_Aperture: 16
m_BladeCount: 5
m_Curvature: {x: 2, y: 11}
m_BarrelClipping: 0.25
m_Anamorphism: 0
flipYMode: 0
fullscreenPassthrough: 0
allowDynamicResolution: 0
customRenderingSettings: 0
invertFaceCulling: 0
probeLayerMask:
serializedVersion: 2
m_Bits: 4294967295
hasPersistentHistory: 0
m_RenderingPathCustomFrameSettings:
bitDatas:
data1: 70297877217101
data2: 4539628425463136256
lodBias: 1
lodBiasMode: 0
lodBiasQualityLevel: 0
maximumLODLevel: 0
maximumLODLevelMode: 0
maximumLODLevelQualityLevel: 0
materialQuality: 0
renderingPathCustomFrameSettingsOverrideMask:
mask:
data1: 0
data2: 0
defaultFrameSettings: 0
--- !u!1 &100006
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 400002}
- component: {fileID: 5400000}
- component: {fileID: 13600000}
- component: {fileID: 11400004}
m_Layer: 0
m_Name: RigidBodyFPSController
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &400002
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100006}
m_LocalRotation: {x: 0, y: 1, z: 0, w: -0.00000016292068}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 400000}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!54 &5400000
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100006}
serializedVersion: 2
m_Mass: 10
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 112
m_CollisionDetection: 0
--- !u!136 &13600000
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100006}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
m_Radius: 0.5
m_Height: 1.6
m_Direction: 1
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &11400004
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 100006}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 81c9795a96c094f4cbde4d65546aa9b2, type: 3}
m_Name:
m_EditorClassIdentifier:
cam: {fileID: 2000000}
movementSettings:
ForwardSpeed: 8
BackwardSpeed: 4
StrafeSpeed: 4
RunMultiplier: 2
RunKey: 304
JumpForce: 50
SlopeCurveModifier:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: -90
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 90
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
CurrentTargetSpeed: 8
mouseLook:
XSensitivity: 2
YSensitivity: 2
clampVerticalRotation: 1
MinimumX: -45
MaximumX: 90
smooth: 1
smoothTime: 18
lockCursor: 1
advancedSettings:
groundCheckDistance: 0.1
stickToGroundHelperDistance: 0.6
slowDownRate: 20
movingDrag: 5
airControl: 0
shellOffset: 0

5
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Prefabs/RigidBodyFPSController.prefab.meta


fileFormatVersion: 2
guid: c6453f8e1f814744d8b94e5a6d1f9942
NativeFormatImporter:
userData:
assetBundleName:

6
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Prefabs.meta


fileFormatVersion: 2
guid: 0bfb2599080d5d24e84362b4ae314ae7
folderAsset: yes
DefaultImporter:
userData:
assetBundleName:

259
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/FirstPersonController.cs


using System;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
using UnityStandardAssets.Utility;
using Random = UnityEngine.Random;
namespace UnityStandardAssets.Characters.FirstPerson
{
[RequireComponent(typeof (CharacterController))]
[RequireComponent(typeof (AudioSource))]
public class FirstPersonController : MonoBehaviour
{
[SerializeField] private bool m_IsWalking;
[SerializeField] private float m_WalkSpeed;
[SerializeField] private float m_RunSpeed;
[SerializeField] [Range(0f, 1f)] private float m_RunstepLenghten;
[SerializeField] private float m_JumpSpeed;
[SerializeField] private float m_StickToGroundForce;
[SerializeField] private float m_GravityMultiplier;
[SerializeField] private MouseLook m_MouseLook;
[SerializeField] private bool m_UseFovKick;
[SerializeField] private FOVKick m_FovKick = new FOVKick();
[SerializeField] private bool m_UseHeadBob;
[SerializeField] private CurveControlledBob m_HeadBob = new CurveControlledBob();
[SerializeField] private LerpControlledBob m_JumpBob = new LerpControlledBob();
[SerializeField] private float m_StepInterval;
[SerializeField] private AudioClip[] m_FootstepSounds; // an array of footstep sounds that will be randomly selected from.
[SerializeField] private AudioClip m_JumpSound; // the sound played when character leaves the ground.
[SerializeField] private AudioClip m_LandSound; // the sound played when character touches back on ground.
private Camera m_Camera;
private bool m_Jump;
private float m_YRotation;
private Vector2 m_Input;
private Vector3 m_MoveDir = Vector3.zero;
private CharacterController m_CharacterController;
private CollisionFlags m_CollisionFlags;
private bool m_PreviouslyGrounded;
private Vector3 m_OriginalCameraPosition;
private float m_StepCycle;
private float m_NextStep;
private bool m_Jumping;
private AudioSource m_AudioSource;
// Use this for initialization
private void Start()
{
m_CharacterController = GetComponent<CharacterController>();
m_Camera = Camera.main;
m_OriginalCameraPosition = m_Camera.transform.localPosition;
m_FovKick.Setup(m_Camera);
m_HeadBob.Setup(m_Camera, m_StepInterval);
m_StepCycle = 0f;
m_NextStep = m_StepCycle/2f;
m_Jumping = false;
m_AudioSource = GetComponent<AudioSource>();
m_MouseLook.Init(transform , m_Camera.transform);
}
// Update is called once per frame
private void Update()
{
RotateView();
// the jump state needs to read here to make sure it is not missed
if (!m_Jump)
{
m_Jump = CrossPlatformInputManager.GetButtonDown("Jump");
}
if (!m_PreviouslyGrounded && m_CharacterController.isGrounded)
{
StartCoroutine(m_JumpBob.DoBobCycle());
PlayLandingSound();
m_MoveDir.y = 0f;
m_Jumping = false;
}
if (!m_CharacterController.isGrounded && !m_Jumping && m_PreviouslyGrounded)
{
m_MoveDir.y = 0f;
}
m_PreviouslyGrounded = m_CharacterController.isGrounded;
}
private void PlayLandingSound()
{
m_AudioSource.clip = m_LandSound;
m_AudioSource.Play();
m_NextStep = m_StepCycle + .5f;
}
private void FixedUpdate()
{
float speed;
GetInput(out speed);
// always move along the camera forward as it is the direction that it being aimed at
Vector3 desiredMove = transform.forward*m_Input.y + transform.right*m_Input.x;
// get a normal for the surface that is being touched to move along it
RaycastHit hitInfo;
Physics.SphereCast(transform.position, m_CharacterController.radius, Vector3.down, out hitInfo,
m_CharacterController.height/2f, Physics.AllLayers, QueryTriggerInteraction.Ignore);
desiredMove = Vector3.ProjectOnPlane(desiredMove, hitInfo.normal).normalized;
m_MoveDir.x = desiredMove.x*speed;
m_MoveDir.z = desiredMove.z*speed;
if (m_CharacterController.isGrounded)
{
m_MoveDir.y = -m_StickToGroundForce;
if (m_Jump)
{
m_MoveDir.y = m_JumpSpeed;
PlayJumpSound();
m_Jump = false;
m_Jumping = true;
}
}
else
{
m_MoveDir += Physics.gravity*m_GravityMultiplier*Time.fixedDeltaTime;
}
m_CollisionFlags = m_CharacterController.Move(m_MoveDir*Time.fixedDeltaTime);
ProgressStepCycle(speed);
UpdateCameraPosition(speed);
m_MouseLook.UpdateCursorLock();
}
private void PlayJumpSound()
{
m_AudioSource.clip = m_JumpSound;
m_AudioSource.Play();
}
private void ProgressStepCycle(float speed)
{
if (m_CharacterController.velocity.sqrMagnitude > 0 && (m_Input.x != 0 || m_Input.y != 0))
{
m_StepCycle += (m_CharacterController.velocity.magnitude + (speed*(m_IsWalking ? 1f : m_RunstepLenghten)))*
Time.fixedDeltaTime;
}
if (!(m_StepCycle > m_NextStep))
{
return;
}
m_NextStep = m_StepCycle + m_StepInterval;
PlayFootStepAudio();
}
private void PlayFootStepAudio()
{
if (!m_CharacterController.isGrounded)
{
return;
}
// pick & play a random footstep sound from the array,
// excluding sound at index 0
int n = Random.Range(1, m_FootstepSounds.Length);
m_AudioSource.clip = m_FootstepSounds[n];
m_AudioSource.PlayOneShot(m_AudioSource.clip);
// move picked sound to index 0 so it's not picked next time
m_FootstepSounds[n] = m_FootstepSounds[0];
m_FootstepSounds[0] = m_AudioSource.clip;
}
private void UpdateCameraPosition(float speed)
{
Vector3 newCameraPosition;
if (!m_UseHeadBob)
{
return;
}
if (m_CharacterController.velocity.magnitude > 0 && m_CharacterController.isGrounded)
{
m_Camera.transform.localPosition =
m_HeadBob.DoHeadBob(m_CharacterController.velocity.magnitude +
(speed*(m_IsWalking ? 1f : m_RunstepLenghten)));
newCameraPosition = m_Camera.transform.localPosition;
newCameraPosition.y = m_Camera.transform.localPosition.y - m_JumpBob.Offset();
}
else
{
newCameraPosition = m_Camera.transform.localPosition;
newCameraPosition.y = m_OriginalCameraPosition.y - m_JumpBob.Offset();
}
m_Camera.transform.localPosition = newCameraPosition;
}
private void GetInput(out float speed)
{
// Read input
float horizontal = CrossPlatformInputManager.GetAxis("Horizontal");
float vertical = CrossPlatformInputManager.GetAxis("Vertical");
bool waswalking = m_IsWalking;
#if !MOBILE_INPUT
// On standalone builds, walk/run speed is modified by a key press.
// keep track of whether or not the character is walking or running
m_IsWalking = !Input.GetKey(KeyCode.LeftShift);
#endif
// set the desired speed to be walking or running
speed = m_IsWalking ? m_WalkSpeed : m_RunSpeed;
m_Input = new Vector2(horizontal, vertical);
// normalize input if it exceeds 1 in combined length:
if (m_Input.sqrMagnitude > 1)
{
m_Input.Normalize();
}
// handle speed change to give an fov kick
// only if the player is going to a run, is running and the fovkick is to be used
if (m_IsWalking != waswalking && m_UseFovKick && m_CharacterController.velocity.sqrMagnitude > 0)
{
StopAllCoroutines();
StartCoroutine(!m_IsWalking ? m_FovKick.FOVKickUp() : m_FovKick.FOVKickDown());
}
}
private void RotateView()
{
m_MouseLook.LookRotation (transform, m_Camera.transform);
}
private void OnControllerColliderHit(ControllerColliderHit hit)
{
Rigidbody body = hit.collider.attachedRigidbody;
//dont move the rigidbody if the character is on top of it
if (m_CollisionFlags == CollisionFlags.Below)
{
return;
}
if (body == null || body.isKinematic)
{
return;
}
body.AddForceAtPosition(m_CharacterController.velocity*0.1f, hit.point, ForceMode.Impulse);
}
}
}

9
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/FirstPersonController.cs.meta


fileFormatVersion: 2
guid: 05ec5cf00ca181d45a42ba1870e148c3
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:

55
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/HeadBob.cs


using System;
using UnityEngine;
using UnityStandardAssets.Utility;
namespace UnityStandardAssets.Characters.FirstPerson
{
public class HeadBob : MonoBehaviour
{
public Camera Camera;
public CurveControlledBob motionBob = new CurveControlledBob();
public LerpControlledBob jumpAndLandingBob = new LerpControlledBob();
public RigidbodyFirstPersonController rigidbodyFirstPersonController;
public float StrideInterval;
[Range(0f, 1f)] public float RunningStrideLengthen;
// private CameraRefocus m_CameraRefocus;
private bool m_PreviouslyGrounded;
private Vector3 m_OriginalCameraPosition;
private void Start()
{
motionBob.Setup(Camera, StrideInterval);
m_OriginalCameraPosition = Camera.transform.localPosition;
// m_CameraRefocus = new CameraRefocus(Camera, transform.root.transform, Camera.transform.localPosition);
}
private void Update()
{
// m_CameraRefocus.GetFocusPoint();
Vector3 newCameraPosition;
if (rigidbodyFirstPersonController.Velocity.magnitude > 0 && rigidbodyFirstPersonController.Grounded)
{
Camera.transform.localPosition = motionBob.DoHeadBob(rigidbodyFirstPersonController.Velocity.magnitude*(rigidbodyFirstPersonController.Running ? RunningStrideLengthen : 1f), rigidbodyFirstPersonController.speedPercent);
newCameraPosition = Camera.transform.localPosition;
newCameraPosition.y = Camera.transform.localPosition.y - jumpAndLandingBob.Offset();
}
else
{
newCameraPosition = Camera.transform.localPosition;
newCameraPosition.y = m_OriginalCameraPosition.y - jumpAndLandingBob.Offset();
}
Camera.transform.localPosition = newCameraPosition;
if (!m_PreviouslyGrounded && rigidbodyFirstPersonController.Grounded)
{
StartCoroutine(jumpAndLandingBob.DoBobCycle());
}
m_PreviouslyGrounded = rigidbodyFirstPersonController.Grounded;
// m_CameraRefocus.SetFocusPoint();
}
}
}

9
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/HeadBob.cs.meta


fileFormatVersion: 2
guid: 83c81407209f85e4c87c0cda8b32868e
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:

115
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/MouseLook.cs


using System;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
namespace UnityStandardAssets.Characters.FirstPerson
{
[Serializable]
public class MouseLook
{
public float XSensitivity = 2f;
public float YSensitivity = 2f;
public bool clampVerticalRotation = true;
public float MinimumX = -90F;
public float MaximumX = 90F;
public bool smooth;
public float smoothTime = 5f;
public bool lockCursor = true;
private Quaternion m_CharacterTargetRot;
private Quaternion m_CameraTargetRot;
private bool m_cursorIsLocked = true;
public void Init(Transform character, Transform camera)
{
m_CharacterTargetRot = character.localRotation;
m_CameraTargetRot = camera.localRotation;
}
public void LookRotation(Transform character, Transform camera)
{
float yRot = CrossPlatformInputManager.GetAxis("Mouse X") * XSensitivity;
float xRot = CrossPlatformInputManager.GetAxis("Mouse Y") * YSensitivity;
m_CharacterTargetRot *= Quaternion.Euler (0f, yRot, 0f);
m_CameraTargetRot *= Quaternion.Euler (-xRot, 0f, 0f);
if(clampVerticalRotation)
m_CameraTargetRot = ClampRotationAroundXAxis (m_CameraTargetRot);
if(smooth)
{
character.localRotation = Quaternion.Slerp (character.localRotation, m_CharacterTargetRot,
smoothTime * Time.deltaTime);
camera.localRotation = Quaternion.Slerp (camera.localRotation, m_CameraTargetRot,
smoothTime * Time.deltaTime);
}
else
{
character.localRotation = m_CharacterTargetRot;
camera.localRotation = m_CameraTargetRot;
}
UpdateCursorLock();
}
public void SetCursorLock(bool value)
{
lockCursor = value;
if(!lockCursor)
{//we force unlock the cursor if the user disable the cursor locking helper
Cursor.lockState = CursorLockMode.None;
Cursor.visible = true;
}
}
public void UpdateCursorLock()
{
//if the user set "lockCursor" we check & properly lock the cursos
if (lockCursor)
InternalLockUpdate();
}
private void InternalLockUpdate()
{
if(Input.GetKeyUp(KeyCode.Escape))
{
m_cursorIsLocked = false;
}
else if(Input.GetMouseButtonUp(0))
{
m_cursorIsLocked = true;
}
if (m_cursorIsLocked)
{
Cursor.lockState = CursorLockMode.Locked;
Cursor.visible = false;
}
else if (!m_cursorIsLocked)
{
Cursor.lockState = CursorLockMode.None;
Cursor.visible = true;
}
}
Quaternion ClampRotationAroundXAxis(Quaternion q)
{
q.x /= q.w;
q.y /= q.w;
q.z /= q.w;
q.w = 1.0f;
float angleX = 2.0f * Mathf.Rad2Deg * Mathf.Atan (q.x);
angleX = Mathf.Clamp (angleX, MinimumX, MaximumX);
q.x = Mathf.Tan (0.5f * Mathf.Deg2Rad * angleX);
return q;
}
}
}

9
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/MouseLook.cs.meta


fileFormatVersion: 2
guid: 37e60a97f2c87ae41b6cdc1055d78cb9
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:

278
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/RigidbodyFirstPersonController.cs


using System;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput;
namespace UnityStandardAssets.Characters.FirstPerson
{
[RequireComponent(typeof (Rigidbody))]
[RequireComponent(typeof (CapsuleCollider))]
public class RigidbodyFirstPersonController : MonoBehaviour
{
[Serializable]
public class MovementSettings
{
public float ForwardSpeed = 8.0f; // Speed when walking forward
public float BackwardSpeed = 4.0f; // Speed when walking backwards
public float StrafeSpeed = 4.0f; // Speed when walking sideways
public float RunMultiplier = 2.0f; // Speed when sprinting
public KeyCode RunKey = KeyCode.LeftShift;
public float JumpForce = 30f;
public AnimationCurve SlopeCurveModifier = new AnimationCurve(new Keyframe(-90.0f, 1.0f), new Keyframe(0.0f, 1.0f), new Keyframe(90.0f, 0.0f));
[HideInInspector] public float CurrentTargetSpeed = 8f;
#if !MOBILE_INPUT
private bool m_Running;
#endif
public void UpdateDesiredTargetSpeed(Vector2 input)
{
if (input == Vector2.zero) return;
if (input.x > 0 || input.x < 0)
{
//strafe
CurrentTargetSpeed = StrafeSpeed;
}
if (input.y < 0)
{
//backwards
CurrentTargetSpeed = BackwardSpeed;
}
if (input.y > 0)
{
//forwards
//handled last as if strafing and moving forward at the same time forwards speed should take precedence
CurrentTargetSpeed = ForwardSpeed;
}
#if !MOBILE_INPUT
if (Input.GetKey(RunKey))
{
CurrentTargetSpeed *= RunMultiplier;
m_Running = true;
}
else
{
m_Running = false;
}
#endif
}
#if !MOBILE_INPUT
public bool Running
{
get { return m_Running; }
}
#endif
}
[Serializable]
public class AdvancedSettings
{
public float groundCheckDistance = 0.01f; // distance for checking if the controller is grounded ( 0.01f seems to work best for this )
public float stickToGroundHelperDistance = 0.5f; // stops the character
public float slowDownRate = 20f; // rate at which the controller comes to a stop when there is no input
public float movingDrag = 5f; // rate at which the controlls comes to a stop when moving
public bool airControl; // can the user control the direction that is being moved in the air
[Tooltip("set it to 0.1 or more if you get stuck in wall")]
public float shellOffset; //reduce the radius by that ratio to avoid getting stuck in wall (a value of 0.1f is nice)
}
public Camera cam;
public MovementSettings movementSettings = new MovementSettings();
public MouseLook mouseLook = new MouseLook();
public AdvancedSettings advancedSettings = new AdvancedSettings();
private Rigidbody m_RigidBody;
private CapsuleCollider m_Capsule;
private float m_YRotation;
private Vector3 m_GroundContactNormal;
private bool m_Jump, m_PreviouslyGrounded, m_Jumping, m_IsGrounded;
public Vector3 Velocity
{
get { return m_RigidBody.velocity; }
}
public float speedPercent
{
get { return Velocity.sqrMagnitude / (movementSettings.CurrentTargetSpeed * movementSettings.CurrentTargetSpeed); }
}
public bool Grounded
{
get { return m_IsGrounded; }
}
public bool Jumping
{
get { return m_Jumping; }
}
public bool Running
{
get
{
#if !MOBILE_INPUT
return movementSettings.Running;
#else
return false;
#endif
}
}
private void Start()
{
m_RigidBody = GetComponent<Rigidbody>();
m_Capsule = GetComponent<CapsuleCollider>();
mouseLook.Init (transform, cam.transform);
}
private void Update()
{
RotateView();
if (CrossPlatformInputManager.GetButtonDown("Jump") && !m_Jump)
{
m_Jump = true;
}
}
private void FixedUpdate()
{
GroundCheck();
Vector2 input = GetInput();
bool hasInput = (Mathf.Abs(input.x) > float.Epsilon || Mathf.Abs(input.y) > float.Epsilon);
if ( hasInput && (advancedSettings.airControl || m_IsGrounded))
{
// always move along the camera forward as it is the direction that it being aimed at
Vector3 desiredMove = cam.transform.forward*input.y + cam.transform.right*input.x;
desiredMove = Vector3.ProjectOnPlane(desiredMove, m_GroundContactNormal).normalized;
desiredMove.x = desiredMove.x*movementSettings.CurrentTargetSpeed;
desiredMove.z = desiredMove.z*movementSettings.CurrentTargetSpeed;
desiredMove.y = desiredMove.y*movementSettings.CurrentTargetSpeed;
if (m_RigidBody.velocity.sqrMagnitude <
(movementSettings.CurrentTargetSpeed*movementSettings.CurrentTargetSpeed))
{
m_RigidBody.AddForce(desiredMove*SlopeMultiplier(), ForceMode.Impulse);
}
}
if (m_IsGrounded)
{
if( !hasInput )
{
m_RigidBody.drag = advancedSettings.slowDownRate;
}
else
{
m_RigidBody.drag = advancedSettings.movingDrag;
}
if (m_Jump)
{
m_RigidBody.drag = 0f;
m_RigidBody.velocity = new Vector3(m_RigidBody.velocity.x, 0f, m_RigidBody.velocity.z);
m_RigidBody.AddForce(new Vector3(0f, movementSettings.JumpForce, 0f), ForceMode.Impulse);
m_Jumping = true;
}
if (!m_Jumping && Mathf.Abs(input.x) < float.Epsilon && Mathf.Abs(input.y) < float.Epsilon && m_RigidBody.velocity.magnitude < 1f)
{
m_RigidBody.Sleep();
}
}
else
{
m_RigidBody.drag = 0f;
if (m_PreviouslyGrounded && !m_Jumping)
{
StickToGroundHelper();
}
}
m_Jump = false;
}
private float SlopeMultiplier()
{
float angle = Vector3.Angle(m_GroundContactNormal, Vector3.up);
return movementSettings.SlopeCurveModifier.Evaluate(angle);
}
private void StickToGroundHelper()
{
RaycastHit hitInfo;
if (Physics.SphereCast(transform.position, m_Capsule.radius * (1.0f - advancedSettings.shellOffset), Vector3.down, out hitInfo,
((m_Capsule.height/2f) - m_Capsule.radius) +
advancedSettings.stickToGroundHelperDistance, Physics.AllLayers, QueryTriggerInteraction.Ignore))
{
if (Mathf.Abs(Vector3.Angle(hitInfo.normal, Vector3.up)) < 85f)
{
m_RigidBody.velocity = Vector3.ProjectOnPlane(m_RigidBody.velocity, hitInfo.normal);
}
}
}
private Vector2 GetInput()
{
Vector2 input = new Vector2
{
x = CrossPlatformInputManager.GetAxis("Horizontal"),
y = CrossPlatformInputManager.GetAxis("Vertical")
};
movementSettings.UpdateDesiredTargetSpeed(input);
return input;
}
private void RotateView()
{
//avoids the mouse looking if the game is effectively paused
if (Mathf.Abs(Time.timeScale) < float.Epsilon) return;
// get the rotation before it's changed
float oldYRotation = transform.eulerAngles.y;
mouseLook.LookRotation (transform, cam.transform);
if (m_IsGrounded || advancedSettings.airControl)
{
// Rotate the rigidbody velocity to match the new direction that the character is looking
Quaternion velRotation = Quaternion.AngleAxis(transform.eulerAngles.y - oldYRotation, Vector3.up);
m_RigidBody.velocity = velRotation*m_RigidBody.velocity;
}
}
/// sphere cast down just beyond the bottom of the capsule to see if the capsule is colliding round the bottom
private void GroundCheck()
{
m_PreviouslyGrounded = m_IsGrounded;
RaycastHit hitInfo;
if (Physics.SphereCast(transform.position, m_Capsule.radius * (1.0f - advancedSettings.shellOffset), Vector3.down, out hitInfo,
((m_Capsule.height/2f) - m_Capsule.radius) + advancedSettings.groundCheckDistance, Physics.AllLayers, QueryTriggerInteraction.Ignore))
{
m_IsGrounded = true;
m_GroundContactNormal = hitInfo.normal;
}
else
{
m_IsGrounded = false;
m_GroundContactNormal = Vector3.up;
}
if (!m_PreviouslyGrounded && m_IsGrounded && m_Jumping)
{
m_Jumping = false;
}
}
}
}

9
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts/RigidbodyFirstPersonController.cs.meta


fileFormatVersion: 2
guid: 81c9795a96c094f4cbde4d65546aa9b2
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:

6
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter/Scripts.meta


fileFormatVersion: 2
guid: 314f49b24dc9d5d40956a7b28c67b237
folderAsset: yes
DefaultImporter:
userData:
assetBundleName:

6
Assets/1stParty/Standard Assets/Characters/FirstPersonCharacter.meta


fileFormatVersion: 2
guid: 943e057eaae705e43b9e9b2e53d6adb0
folderAsset: yes
DefaultImporter:
userData:
assetBundleName:

6
Assets/1stParty/Standard Assets/Characters.meta


fileFormatVersion: 2
guid: 8c32f58513a41ef4dab9cb7704c5fb92
folderAsset: yes
DefaultImporter:
userData:
assetBundleName:

32
Assets/1stParty/Standard Assets/CrossPlatformInput/CrossPlatformInputGuidelines.txt


Importing the CrossPlatformInput package adds a menu item to Unity, "CrossPlatformInput", which allows you to enable or disable the CrossPlatformInput in the editor. You must enable the CrossPlatformInput in order to see the control rigs in the editor, and to start using Unity Remote to control your game.
The CrossPlatformInput sample assets contains two main sections.
1) The folder of prefabs provide a variety of ready-to-use "MobileControlRigs". Each control rig is suitable for a different purpose, and each implements the touch or tilt-based equivalent of some of the default standalone axes or buttons. These are ready to drop into your scene, and to use them you simply need to read the axes via the CrossPlatformInput class, rather than Unity's regular Input class.
2) The set of scripts provided are the scripts we used to put together the control rigs prefabs. They provide a simplified way of reading basic mobile input, such as tilt, taps and swipe gestures. They are designed so that various mobile controls can be read in the same way as regular Unity axes and buttons. You can use these scripts to build your own MobileControlRigs.
For example the Car control rig feeds the tilt input of the mobile device to the "Horizontal" axis, and has an accelerator and brake touch button which are fed as a pair into the "Vertical" axis. These are virtual equivalents of the real "Horizontal" and "Vertical" axes defined in Unity's Input Manager.
Therefore when you read CrossPlatformInput.GetAxis("Horizontal"), you will either get the "real" input value - if your build target is non-mobile, or the value from the mobile control rig - if your build target is set to a mobile platform.
The CrossPlatformInput scripts and prefabs are provided together as an example of how you can implement a cross-platform control solution in Unity. They also allow us to provide our other sample scenes in a form that can be published as standalone or to mobile targets with no modification.
To use the CrossPlatformInput, you need to drop a "Mobile Control Rig" into your scene (or create your own), and then make calls to CrossPlatformInput functions, referring to the axes and buttons that the Rig implements.
When reading input from the CrossPlatformInput class, the values returned will be taken either from Unity's Input Manager settings, or from the mobile-specific controls set up, depending on which build target you have selected.
The CrossPlatformInput class is designed to be called instead of Unity's own Input class, and so mirrors certain parts of the Input API - specifically the functions relating to Axes and Buttons:
GetAxis, GetAxisRaw
GetButton, GetButtonDown, GetButtonUp
Notes for coders:
This package sets two compiler define symbols. One is always set automatically, the other is optionally set from a menu item.
Importing the "CrossPlatformInput" package will automatically add a compiler define symbol, "CROSS_PLATFORM_INPUT". This enables the CrossPlatformInput functions defined in some of the other Sample Asset packages (such as the Characters, Planes, etc). Without this symbol defined, those packages use Unity's regular Input class, which means they can be imported alone and still work without the CrossPlatformInput package.
The optional define (which is set by default, but can be disabled using the "Mobile Input" menu), is "MOBILE_INPUT". This causes the MobileControlRigs to become active when a mobile build target is selected. It also enables certain mobile-specific control nuances in some of the packages, which make more sense when the character or vehicle is being controlled using mobile input (such as auto-leveling the character's look direction). This define is optional because some developers prefer to use standalone input methods instead of the Unity Remote app, when testing mobile apps in the editor's play mode.

5
Assets/1stParty/Standard Assets/CrossPlatformInput/CrossPlatformInputGuidelines.txt.meta


fileFormatVersion: 2
guid: a3b997593a4f12c4c991490593f3b513
TextScriptImporter:
userData:
assetBundleName:

75
Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/AxisTouchButton.cs


using System;
using UnityEngine;
using UnityEngine.EventSystems;
namespace UnityStandardAssets.CrossPlatformInput
{
public class AxisTouchButton : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
{
// designed to work in a pair with another axis touch button
// (typically with one having -1 and one having 1 axisValues)
public string axisName = "Horizontal"; // The name of the axis
public float axisValue = 1; // The axis that the value has
public float responseSpeed = 3; // The speed at which the axis touch button responds
public float returnToCentreSpeed = 3; // The speed at which the button will return to its centre
AxisTouchButton m_PairedWith; // Which button this one is paired with
CrossPlatformInputManager.VirtualAxis m_Axis; // A reference to the virtual axis as it is in the cross platform input
void OnEnable()
{
if (!CrossPlatformInputManager.AxisExists(axisName))
{
// if the axis doesnt exist create a new one in cross platform input
m_Axis = new CrossPlatformInputManager.VirtualAxis(axisName);
CrossPlatformInputManager.RegisterVirtualAxis(m_Axis);
}
else
{
m_Axis = CrossPlatformInputManager.VirtualAxisReference(axisName);
}
FindPairedButton();
}
void FindPairedButton()
{
// find the other button witch which this button should be paired
// (it should have the same axisName)
var otherAxisButtons = FindObjectsOfType(typeof(AxisTouchButton)) as AxisTouchButton[];
if (otherAxisButtons != null)
{
for (int i = 0; i < otherAxisButtons.Length; i++)
{
if (otherAxisButtons[i].axisName == axisName && otherAxisButtons[i] != this)
{
m_PairedWith = otherAxisButtons[i];
}
}
}
}
void OnDisable()
{
// The object is disabled so remove it from the cross platform input system
m_Axis.Remove();
}
public void OnPointerDown(PointerEventData data)
{
if (m_PairedWith == null)
{
FindPairedButton();
}
// update the axis and record that the button has been pressed this frame
m_Axis.Update(Mathf.MoveTowards(m_Axis.GetValue, axisValue, responseSpeed * Time.deltaTime));
}
public void OnPointerUp(PointerEventData data)
{
m_Axis.Update(Mathf.MoveTowards(m_Axis.GetValue, 0, responseSpeed * Time.deltaTime));
}
}
}

9
Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/AxisTouchButton.cs.meta


fileFormatVersion: 2
guid: 9ab98b66288df7b4fa182075f2f12bd6
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:

50
Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/ButtonHandler.cs


using System;
using UnityEngine;
namespace UnityStandardAssets.CrossPlatformInput
{
public class ButtonHandler : MonoBehaviour
{
public string Name;
void OnEnable()
{
}
public void SetDownState()
{
CrossPlatformInputManager.SetButtonDown(Name);
}
public void SetUpState()
{
CrossPlatformInputManager.SetButtonUp(Name);
}
public void SetAxisPositiveState()
{
CrossPlatformInputManager.SetAxisPositive(Name);
}
public void SetAxisNeutralState()
{
CrossPlatformInputManager.SetAxisZero(Name);
}
public void SetAxisNegativeState()
{
CrossPlatformInputManager.SetAxisNegative(Name);
}
public void Update()
{
}
}
}

9
Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/ButtonHandler.cs.meta


fileFormatVersion: 2
guid: 85bf3be603548374ca46f521a3aa7fda
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:

318
Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/CrossPlatformInputManager.cs


using System;
using UnityEngine;
using UnityStandardAssets.CrossPlatformInput.PlatformSpecific;
namespace UnityStandardAssets.CrossPlatformInput
{
public static class CrossPlatformInputManager
{
public enum ActiveInputMethod
{
Hardware,
Touch
}
private static VirtualInput activeInput;
private static VirtualInput s_TouchInput;
private static VirtualInput s_HardwareInput;
static CrossPlatformInputManager()
{
s_TouchInput = new MobileInput();
s_HardwareInput = new StandaloneInput();
#if MOBILE_INPUT
activeInput = s_TouchInput;
#else
activeInput = s_HardwareInput;
#endif
}
public static void SwitchActiveInputMethod(ActiveInputMethod activeInputMethod)
{
switch (activeInputMethod)
{
case ActiveInputMethod.Hardware:
activeInput = s_HardwareInput;
break;
case ActiveInputMethod.Touch:
activeInput = s_TouchInput;
break;
}
}
public static bool AxisExists(string name)
{
return activeInput.AxisExists(name);
}
public static bool ButtonExists(string name)
{
return activeInput.ButtonExists(name);
}
public static void RegisterVirtualAxis(VirtualAxis axis)
{
activeInput.RegisterVirtualAxis(axis);
}
public static void RegisterVirtualButton(VirtualButton button)
{
activeInput.RegisterVirtualButton(button);
}
public static void UnRegisterVirtualAxis(string name)
{
if (name == null)
{
throw new ArgumentNullException("name");
}
activeInput.UnRegisterVirtualAxis(name);
}
public static void UnRegisterVirtualButton(string name)
{
activeInput.UnRegisterVirtualButton(name);
}
// returns a reference to a named virtual axis if it exists otherwise null
public static VirtualAxis VirtualAxisReference(string name)
{
return activeInput.VirtualAxisReference(name);
}
// returns the platform appropriate axis for the given name
public static float GetAxis(string name)
{
return GetAxis(name, false);
}
public static float GetAxisRaw(string name)
{
return GetAxis(name, true);
}
// private function handles both types of axis (raw and not raw)
private static float GetAxis(string name, bool raw)
{
return activeInput.GetAxis(name, raw);
}
// -- Button handling --
public static bool GetButton(string name)
{
return activeInput.GetButton(name);
}
public static bool GetButtonDown(string name)
{
return activeInput.GetButtonDown(name);
}
public static bool GetButtonUp(string name)
{
return activeInput.GetButtonUp(name);
}
public static void SetButtonDown(string name)
{
activeInput.SetButtonDown(name);
}
public static void SetButtonUp(string name)
{
activeInput.SetButtonUp(name);
}
public static void SetAxisPositive(string name)
{
activeInput.SetAxisPositive(name);
}
public static void SetAxisNegative(string name)
{
activeInput.SetAxisNegative(name);
}
public static void SetAxisZero(string name)
{
activeInput.SetAxisZero(name);
}
public static void SetAxis(string name, float value)
{
activeInput.SetAxis(name, value);
}
public static Vector3 mousePosition
{
get { return activeInput.MousePosition(); }
}
public static void SetVirtualMousePositionX(float f)
{
activeInput.SetVirtualMousePositionX(f);
}
public static void SetVirtualMousePositionY(float f)
{
activeInput.SetVirtualMousePositionY(f);
}
public static void SetVirtualMousePositionZ(float f)
{
activeInput.SetVirtualMousePositionZ(f);
}
// virtual axis and button classes - applies to mobile input
// Can be mapped to touch joysticks, tilt, gyro, etc, depending on desired implementation.
// Could also be implemented by other input devices - kinect, electronic sensors, etc
public class VirtualAxis
{
public string name { get; private set; }
private float m_Value;
public bool matchWithInputManager { get; private set; }
public VirtualAxis(string name)
: this(name, true)
{
}
public VirtualAxis(string name, bool matchToInputSettings)
{
this.name = name;
matchWithInputManager = matchToInputSettings;
}
// removes an axes from the cross platform input system
public void Remove()
{
UnRegisterVirtualAxis(name);
}
// a controller gameobject (eg. a virtual thumbstick) should update this class
public void Update(float value)
{
m_Value = value;
}
public float GetValue
{
get { return m_Value; }
}
public float GetValueRaw
{
get { return m_Value; }
}
}
// a controller gameobject (eg. a virtual GUI button) should call the
// 'pressed' function of this class. Other objects can then read the
// Get/Down/Up state of this button.
public class VirtualButton
{
public string name { get; private set; }
public bool matchWithInputManager { get; private set; }
private int m_LastPressedFrame = -5;
private int m_ReleasedFrame = -5;
private bool m_Pressed;
public VirtualButton(string name)
: this(name, true)
{
}
public VirtualButton(string name, bool matchToInputSettings)
{
this.name = name;
matchWithInputManager = matchToInputSettings;
}
// A controller gameobject should call this function when the button is pressed down
public void Pressed()
{
if (m_Pressed)
{
return;
}
m_Pressed = true;
m_LastPressedFrame = Time.frameCount;
}
// A controller gameobject should call this function when the button is released
public void Released()
{
m_Pressed = false;
m_ReleasedFrame = Time.frameCount;
}
// the controller gameobject should call Remove when the button is destroyed or disabled
public void Remove()
{
UnRegisterVirtualButton(name);
}
// these are the states of the button which can be read via the cross platform input system
public bool GetButton
{
get { return m_Pressed; }
}
public bool GetButtonDown
{
get
{
return m_LastPressedFrame - Time.frameCount == -1;
}
}
public bool GetButtonUp
{
get
{
return (m_ReleasedFrame == Time.frameCount - 1);
}
}
}
}
}

11
Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/CrossPlatformInputManager.cs.meta


fileFormatVersion: 2
guid: 6ac1ce5a5adfd9f46adbf5b6f752a47c
labels:
- Done
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: -1010
icon: {instanceID: 0}
userData:
assetBundleName:

17
Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/InputAxisScrollbar.cs


using System;
using UnityEngine;
namespace UnityStandardAssets.CrossPlatformInput
{
public class InputAxisScrollbar : MonoBehaviour
{
public string axis;
void Update() { }
public void HandleInput(float value)
{
CrossPlatformInputManager.SetAxis(axis, (value*2f) - 1f);
}
}
}

9
Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/InputAxisScrollbar.cs.meta


fileFormatVersion: 2
guid: 7d3269566d48b8447bb48d2259e28f8b
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:

118
Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/Joystick.cs


using System;
using UnityEngine;
using UnityEngine.EventSystems;
namespace UnityStandardAssets.CrossPlatformInput
{
public class Joystick : MonoBehaviour, IPointerDownHandler, IPointerUpHandler, IDragHandler
{
public enum AxisOption
{
// Options for which axes to use
Both, // Use both
OnlyHorizontal, // Only horizontal
OnlyVertical // Only vertical
}
public int MovementRange = 100;
public AxisOption axesToUse = AxisOption.Both; // The options for the axes that the still will use
public string horizontalAxisName = "Horizontal"; // The name given to the horizontal axis for the cross platform input
public string verticalAxisName = "Vertical"; // The name given to the vertical axis for the cross platform input
Vector3 m_StartPos;
bool m_UseX; // Toggle for using the x axis
bool m_UseY; // Toggle for using the Y axis
CrossPlatformInputManager.VirtualAxis m_HorizontalVirtualAxis; // Reference to the joystick in the cross platform input
CrossPlatformInputManager.VirtualAxis m_VerticalVirtualAxis; // Reference to the joystick in the cross platform input
void OnEnable()
{
CreateVirtualAxes();
}
void Start()
{
m_StartPos = transform.position;
}
void UpdateVirtualAxes(Vector3 value)
{
var delta = m_StartPos - value;
delta.y = -delta.y;
delta /= MovementRange;
if (m_UseX)
{
m_HorizontalVirtualAxis.Update(-delta.x);
}
if (m_UseY)
{
m_VerticalVirtualAxis.Update(delta.y);
}
}
void CreateVirtualAxes()
{
// set axes to use
m_UseX = (axesToUse == AxisOption.Both || axesToUse == AxisOption.OnlyHorizontal);
m_UseY = (axesToUse == AxisOption.Both || axesToUse == AxisOption.OnlyVertical);
// create new axes based on axes to use
if (m_UseX)
{
m_HorizontalVirtualAxis = new CrossPlatformInputManager.VirtualAxis(horizontalAxisName);
CrossPlatformInputManager.RegisterVirtualAxis(m_HorizontalVirtualAxis);
}
if (m_UseY)
{
m_VerticalVirtualAxis = new CrossPlatformInputManager.VirtualAxis(verticalAxisName);
CrossPlatformInputManager.RegisterVirtualAxis(m_VerticalVirtualAxis);
}
}
public void OnDrag(PointerEventData data)
{
Vector3 newPos = Vector3.zero;
if (m_UseX)
{
int delta = (int)(data.position.x - m_StartPos.x);
delta = Mathf.Clamp(delta, - MovementRange, MovementRange);
newPos.x = delta;
}
if (m_UseY)
{
int delta = (int)(data.position.y - m_StartPos.y);
delta = Mathf.Clamp(delta, -MovementRange, MovementRange);
newPos.y = delta;
}
transform.position = new Vector3(m_StartPos.x + newPos.x, m_StartPos.y + newPos.y, m_StartPos.z + newPos.z);
UpdateVirtualAxes(transform.position);
}
public void OnPointerUp(PointerEventData data)
{
transform.position = m_StartPos;
UpdateVirtualAxes(m_StartPos);
}
public void OnPointerDown(PointerEventData data) { }
void OnDisable()
{
// remove the joysticks from the cross platform input
if (m_UseX)
{
m_HorizontalVirtualAxis.Remove();
}
if (m_UseY)
{
m_VerticalVirtualAxis.Remove();
}
}
}
}

9
Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/Joystick.cs.meta


fileFormatVersion: 2
guid: 00c3c865782347f41b6358d9fba14b48
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:

99
Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/MobileControlRig.cs


using System;
#if UNITY_EDITOR
using UnityEditor;
#endif
using UnityEngine;
namespace UnityStandardAssets.CrossPlatformInput
{
[ExecuteInEditMode]
public class MobileControlRig : MonoBehaviour
#if UNITY_EDITOR
, UnityEditor.Build.IActiveBuildTargetChanged
#endif
{
// this script enables or disables the child objects of a control rig
// depending on whether the USE_MOBILE_INPUT define is declared.
// This define is set or unset by a menu item that is included with
// the Cross Platform Input package.
#if !UNITY_EDITOR
void OnEnable()
{
CheckEnableControlRig();
}
#else
public int callbackOrder
{
get
{
return 1;
}
}
#endif
private void Start()
{
#if UNITY_EDITOR
if (Application.isPlaying) //if in the editor, need to check if we are playing, as start is also called just after exiting play
#endif
{
UnityEngine.EventSystems.EventSystem system = GameObject.FindObjectOfType<UnityEngine.EventSystems.EventSystem>();
if (system == null)
{//the scene have no event system, spawn one
GameObject o = new GameObject("EventSystem");
o.AddComponent<UnityEngine.EventSystems.EventSystem>();
o.AddComponent<UnityEngine.EventSystems.StandaloneInputModule>();
}
}
}
#if UNITY_EDITOR
private void OnEnable()
{
EditorApplication.update += Update;
}
private void OnDisable()
{
EditorApplication.update -= Update;
}
private void Update()
{
CheckEnableControlRig();
}
#endif
private void CheckEnableControlRig()
{
#if MOBILE_INPUT
EnableControlRig(true);
#else
EnableControlRig(false);
#endif
}
private void EnableControlRig(bool enabled)
{
gameObject.SetActive(enabled);
}
#if UNITY_EDITOR
public void OnActiveBuildTargetChanged(BuildTarget previousTarget, BuildTarget newTarget)
{
CheckEnableControlRig();
}
#endif
}
}

9
Assets/1stParty/Standard Assets/CrossPlatformInput/Scripts/MobileControlRig.cs.meta


fileFormatVersion: 2
guid: 71398ce7fbc3a5b4fa50b50bd54317a7
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:

部分文件因为文件数量过多而无法显示

正在加载...
取消
保存