CameraFollower.unity 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486
  1. %YAML 1.1
  2. %TAG !u! tag:unity3d.com,2011:
  3. --- !u!29 &1
  4. OcclusionCullingSettings:
  5. m_ObjectHideFlags: 0
  6. serializedVersion: 2
  7. m_OcclusionBakeSettings:
  8. smallestOccluder: 5
  9. smallestHole: 0.25
  10. backfaceThreshold: 100
  11. m_SceneGUID: 00000000000000000000000000000000
  12. m_OcclusionCullingData: {fileID: 0}
  13. --- !u!104 &2
  14. RenderSettings:
  15. m_ObjectHideFlags: 0
  16. serializedVersion: 9
  17. m_Fog: 0
  18. m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
  19. m_FogMode: 3
  20. m_FogDensity: 0.01
  21. m_LinearFogStart: 0
  22. m_LinearFogEnd: 300
  23. m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
  24. m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
  25. m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
  26. m_AmbientIntensity: 1
  27. m_AmbientMode: 0
  28. m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
  29. m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
  30. m_HaloStrength: 0.5
  31. m_FlareStrength: 1
  32. m_FlareFadeSpeed: 3
  33. m_HaloTexture: {fileID: 0}
  34. m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
  35. m_DefaultReflectionMode: 0
  36. m_DefaultReflectionResolution: 128
  37. m_ReflectionBounces: 1
  38. m_ReflectionIntensity: 1
  39. m_CustomReflection: {fileID: 0}
  40. m_Sun: {fileID: 0}
  41. m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
  42. m_UseRadianceAmbientProbe: 0
  43. --- !u!157 &3
  44. LightmapSettings:
  45. m_ObjectHideFlags: 0
  46. serializedVersion: 11
  47. m_GIWorkflowMode: 0
  48. m_GISettings:
  49. serializedVersion: 2
  50. m_BounceScale: 1
  51. m_IndirectOutputScale: 1
  52. m_AlbedoBoost: 1
  53. m_EnvironmentLightingMode: 0
  54. m_EnableBakedLightmaps: 1
  55. m_EnableRealtimeLightmaps: 1
  56. m_LightmapEditorSettings:
  57. serializedVersion: 12
  58. m_Resolution: 2
  59. m_BakeResolution: 40
  60. m_AtlasSize: 1024
  61. m_AO: 0
  62. m_AOMaxDistance: 1
  63. m_CompAOExponent: 1
  64. m_CompAOExponentDirect: 0
  65. m_ExtractAmbientOcclusion: 0
  66. m_Padding: 2
  67. m_LightmapParameters: {fileID: 0}
  68. m_LightmapsBakeMode: 1
  69. m_TextureCompression: 1
  70. m_FinalGather: 0
  71. m_FinalGatherFiltering: 1
  72. m_FinalGatherRayCount: 256
  73. m_ReflectionCompression: 2
  74. m_MixedBakeMode: 2
  75. m_BakeBackend: 0
  76. m_PVRSampling: 1
  77. m_PVRDirectSampleCount: 32
  78. m_PVRSampleCount: 500
  79. m_PVRBounces: 2
  80. m_PVREnvironmentSampleCount: 500
  81. m_PVREnvironmentReferencePointCount: 2048
  82. m_PVRFilteringMode: 2
  83. m_PVRDenoiserTypeDirect: 0
  84. m_PVRDenoiserTypeIndirect: 0
  85. m_PVRDenoiserTypeAO: 0
  86. m_PVRFilterTypeDirect: 0
  87. m_PVRFilterTypeIndirect: 0
  88. m_PVRFilterTypeAO: 0
  89. m_PVREnvironmentMIS: 0
  90. m_PVRCulling: 1
  91. m_PVRFilteringGaussRadiusDirect: 1
  92. m_PVRFilteringGaussRadiusIndirect: 5
  93. m_PVRFilteringGaussRadiusAO: 2
  94. m_PVRFilteringAtrousPositionSigmaDirect: 0.5
  95. m_PVRFilteringAtrousPositionSigmaIndirect: 2
  96. m_PVRFilteringAtrousPositionSigmaAO: 1
  97. m_ExportTrainingData: 0
  98. m_TrainingDataDestination: TrainingData
  99. m_LightProbeSampleCountMultiplier: 4
  100. m_LightingDataAsset: {fileID: 0}
  101. m_UseShadowmask: 1
  102. --- !u!196 &4
  103. NavMeshSettings:
  104. serializedVersion: 2
  105. m_ObjectHideFlags: 0
  106. m_BuildSettings:
  107. serializedVersion: 2
  108. agentTypeID: 0
  109. agentRadius: 0.5
  110. agentHeight: 2
  111. agentSlope: 45
  112. agentClimb: 0.4
  113. ledgeDropHeight: 0
  114. maxJumpAcrossDistance: 0
  115. minRegionArea: 2
  116. manualCellSize: 0
  117. cellSize: 0.16666667
  118. manualTileSize: 0
  119. tileSize: 256
  120. accuratePlacement: 0
  121. debug:
  122. m_Flags: 0
  123. m_NavMeshData: {fileID: 0}
  124. --- !u!1 &1285477994
  125. GameObject:
  126. m_ObjectHideFlags: 0
  127. m_CorrespondingSourceObject: {fileID: 0}
  128. m_PrefabInstance: {fileID: 0}
  129. m_PrefabAsset: {fileID: 0}
  130. serializedVersion: 6
  131. m_Component:
  132. - component: {fileID: 1285477996}
  133. - component: {fileID: 1285477995}
  134. m_Layer: 0
  135. m_Name: Directional light
  136. m_TagString: Untagged
  137. m_Icon: {fileID: 0}
  138. m_NavMeshLayer: 0
  139. m_StaticEditorFlags: 0
  140. m_IsActive: 1
  141. --- !u!108 &1285477995
  142. Light:
  143. m_ObjectHideFlags: 0
  144. m_CorrespondingSourceObject: {fileID: 0}
  145. m_PrefabInstance: {fileID: 0}
  146. m_PrefabAsset: {fileID: 0}
  147. m_GameObject: {fileID: 1285477994}
  148. m_Enabled: 1
  149. serializedVersion: 10
  150. m_Type: 1
  151. m_Shape: 0
  152. m_Color: {r: 1, g: 1, b: 1, a: 1}
  153. m_Intensity: 1
  154. m_Range: 10
  155. m_SpotAngle: 30
  156. m_InnerSpotAngle: 21.80208
  157. m_CookieSize: 10
  158. m_Shadows:
  159. m_Type: 0
  160. m_Resolution: -1
  161. m_CustomResolution: -1
  162. m_Strength: 1
  163. m_Bias: 0.05
  164. m_NormalBias: 0.4
  165. m_NearPlane: 0.2
  166. m_CullingMatrixOverride:
  167. e00: 1
  168. e01: 0
  169. e02: 0
  170. e03: 0
  171. e10: 0
  172. e11: 1
  173. e12: 0
  174. e13: 0
  175. e20: 0
  176. e21: 0
  177. e22: 1
  178. e23: 0
  179. e30: 0
  180. e31: 0
  181. e32: 0
  182. e33: 1
  183. m_UseCullingMatrixOverride: 0
  184. m_Cookie: {fileID: 0}
  185. m_DrawHalo: 0
  186. m_Flare: {fileID: 0}
  187. m_RenderMode: 0
  188. m_CullingMask:
  189. serializedVersion: 2
  190. m_Bits: 4294967295
  191. m_RenderingLayerMask: 1
  192. m_Lightmapping: 4
  193. m_LightShadowCasterMode: 0
  194. m_AreaSize: {x: 1, y: 1}
  195. m_BounceIntensity: 1
  196. m_ColorTemperature: 6570
  197. m_UseColorTemperature: 0
  198. m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
  199. m_UseBoundingSphereOverride: 0
  200. m_ShadowRadius: 0
  201. m_ShadowAngle: 0
  202. --- !u!4 &1285477996
  203. Transform:
  204. m_ObjectHideFlags: 0
  205. m_CorrespondingSourceObject: {fileID: 0}
  206. m_PrefabInstance: {fileID: 0}
  207. m_PrefabAsset: {fileID: 0}
  208. m_GameObject: {fileID: 1285477994}
  209. m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
  210. m_LocalPosition: {x: -0.7175293, y: 0.34179688, z: 1.098877}
  211. m_LocalScale: {x: 1, y: 1, z: 1}
  212. m_Children: []
  213. m_Father: {fileID: 0}
  214. m_RootOrder: 2
  215. m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
  216. --- !u!1 &1285889348
  217. GameObject:
  218. m_ObjectHideFlags: 0
  219. m_CorrespondingSourceObject: {fileID: 0}
  220. m_PrefabInstance: {fileID: 0}
  221. m_PrefabAsset: {fileID: 0}
  222. serializedVersion: 6
  223. m_Component:
  224. - component: {fileID: 1285889351}
  225. - component: {fileID: 1285889350}
  226. - component: {fileID: 1285889349}
  227. m_Layer: 0
  228. m_Name: notice
  229. m_TagString: Untagged
  230. m_Icon: {fileID: 0}
  231. m_NavMeshLayer: 0
  232. m_StaticEditorFlags: 0
  233. m_IsActive: 1
  234. --- !u!102 &1285889349
  235. TextMesh:
  236. serializedVersion: 3
  237. m_ObjectHideFlags: 0
  238. m_CorrespondingSourceObject: {fileID: 0}
  239. m_PrefabInstance: {fileID: 0}
  240. m_PrefabAsset: {fileID: 0}
  241. m_GameObject: {fileID: 1285889348}
  242. m_Text: Hello World
  243. m_OffsetZ: 0
  244. m_CharacterSize: 1
  245. m_LineSpacing: 1
  246. m_Anchor: 1
  247. m_Alignment: 1
  248. m_TabSize: 4
  249. m_FontSize: 60
  250. m_FontStyle: 0
  251. m_RichText: 1
  252. m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
  253. m_Color:
  254. serializedVersion: 2
  255. rgba: 4294967295
  256. --- !u!23 &1285889350
  257. MeshRenderer:
  258. m_ObjectHideFlags: 0
  259. m_CorrespondingSourceObject: {fileID: 0}
  260. m_PrefabInstance: {fileID: 0}
  261. m_PrefabAsset: {fileID: 0}
  262. m_GameObject: {fileID: 1285889348}
  263. m_Enabled: 1
  264. m_CastShadows: 1
  265. m_ReceiveShadows: 1
  266. m_DynamicOccludee: 1
  267. m_MotionVectors: 1
  268. m_LightProbeUsage: 1
  269. m_ReflectionProbeUsage: 1
  270. m_RayTracingMode: 2
  271. m_RenderingLayerMask: 1
  272. m_RendererPriority: 0
  273. m_Materials:
  274. - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0}
  275. m_StaticBatchInfo:
  276. firstSubMesh: 0
  277. subMeshCount: 0
  278. m_StaticBatchRoot: {fileID: 0}
  279. m_ProbeAnchor: {fileID: 0}
  280. m_LightProbeVolumeOverride: {fileID: 0}
  281. m_ScaleInLightmap: 1
  282. m_ReceiveGI: 1
  283. m_PreserveUVs: 0
  284. m_IgnoreNormalsForChartDetection: 0
  285. m_ImportantGI: 0
  286. m_StitchLightmapSeams: 0
  287. m_SelectedEditorRenderState: 3
  288. m_MinimumChartSize: 4
  289. m_AutoUVMaxDistance: 0.5
  290. m_AutoUVMaxAngle: 89
  291. m_LightmapParameters: {fileID: 0}
  292. m_SortingLayerID: 0
  293. m_SortingLayer: 0
  294. m_SortingOrder: 0
  295. --- !u!4 &1285889351
  296. Transform:
  297. m_ObjectHideFlags: 0
  298. m_CorrespondingSourceObject: {fileID: 0}
  299. m_PrefabInstance: {fileID: 0}
  300. m_PrefabAsset: {fileID: 0}
  301. m_GameObject: {fileID: 1285889348}
  302. m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
  303. m_LocalPosition: {x: 0, y: -0.555, z: -0.5250001}
  304. m_LocalScale: {x: 0.041193426, y: 0.04119341, z: 0.04119341}
  305. m_Children: []
  306. m_Father: {fileID: 1875594427}
  307. m_RootOrder: 0
  308. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  309. --- !u!1001 &1751728498
  310. PrefabInstance:
  311. m_ObjectHideFlags: 0
  312. serializedVersion: 2
  313. m_Modification:
  314. m_TransformParent: {fileID: 0}
  315. m_Modifications:
  316. - target: {fileID: 6353906946801857325, guid: 8d729329b16bad348b491ca77b4566cf,
  317. type: 3}
  318. propertyPath: m_Name
  319. value: ShadowSystem
  320. objectReference: {fileID: 0}
  321. - target: {fileID: 6357902626865506769, guid: 8d729329b16bad348b491ca77b4566cf,
  322. type: 3}
  323. propertyPath: m_RootOrder
  324. value: 2
  325. objectReference: {fileID: 0}
  326. - target: {fileID: 6357902626865506769, guid: 8d729329b16bad348b491ca77b4566cf,
  327. type: 3}
  328. propertyPath: m_LocalPosition.x
  329. value: 0
  330. objectReference: {fileID: 0}
  331. - target: {fileID: 6357902626865506769, guid: 8d729329b16bad348b491ca77b4566cf,
  332. type: 3}
  333. propertyPath: m_LocalPosition.y
  334. value: 0
  335. objectReference: {fileID: 0}
  336. - target: {fileID: 6357902626865506769, guid: 8d729329b16bad348b491ca77b4566cf,
  337. type: 3}
  338. propertyPath: m_LocalPosition.z
  339. value: 0
  340. objectReference: {fileID: 0}
  341. - target: {fileID: 6357902626865506769, guid: 8d729329b16bad348b491ca77b4566cf,
  342. type: 3}
  343. propertyPath: m_LocalRotation.w
  344. value: 1
  345. objectReference: {fileID: 0}
  346. - target: {fileID: 6357902626865506769, guid: 8d729329b16bad348b491ca77b4566cf,
  347. type: 3}
  348. propertyPath: m_LocalRotation.x
  349. value: 0
  350. objectReference: {fileID: 0}
  351. - target: {fileID: 6357902626865506769, guid: 8d729329b16bad348b491ca77b4566cf,
  352. type: 3}
  353. propertyPath: m_LocalRotation.y
  354. value: 0
  355. objectReference: {fileID: 0}
  356. - target: {fileID: 6357902626865506769, guid: 8d729329b16bad348b491ca77b4566cf,
  357. type: 3}
  358. propertyPath: m_LocalRotation.z
  359. value: 0
  360. objectReference: {fileID: 0}
  361. - target: {fileID: 6357902626865506769, guid: 8d729329b16bad348b491ca77b4566cf,
  362. type: 3}
  363. propertyPath: m_LocalEulerAnglesHint.x
  364. value: 0
  365. objectReference: {fileID: 0}
  366. - target: {fileID: 6357902626865506769, guid: 8d729329b16bad348b491ca77b4566cf,
  367. type: 3}
  368. propertyPath: m_LocalEulerAnglesHint.y
  369. value: 0
  370. objectReference: {fileID: 0}
  371. - target: {fileID: 6357902626865506769, guid: 8d729329b16bad348b491ca77b4566cf,
  372. type: 3}
  373. propertyPath: m_LocalEulerAnglesHint.z
  374. value: 0
  375. objectReference: {fileID: 0}
  376. m_RemovedComponents: []
  377. m_SourcePrefab: {fileID: 100100000, guid: 8d729329b16bad348b491ca77b4566cf, type: 3}
  378. --- !u!1 &1875594423
  379. GameObject:
  380. m_ObjectHideFlags: 0
  381. m_CorrespondingSourceObject: {fileID: 0}
  382. m_PrefabInstance: {fileID: 0}
  383. m_PrefabAsset: {fileID: 0}
  384. serializedVersion: 6
  385. m_Component:
  386. - component: {fileID: 1875594427}
  387. - component: {fileID: 1875594426}
  388. - component: {fileID: 1875594425}
  389. - component: {fileID: 1875594424}
  390. - component: {fileID: 1875594428}
  391. m_Layer: 0
  392. m_Name: Cube
  393. m_TagString: Untagged
  394. m_Icon: {fileID: 0}
  395. m_NavMeshLayer: 0
  396. m_StaticEditorFlags: 0
  397. m_IsActive: 1
  398. --- !u!23 &1875594424
  399. MeshRenderer:
  400. m_ObjectHideFlags: 0
  401. m_CorrespondingSourceObject: {fileID: 0}
  402. m_PrefabInstance: {fileID: 0}
  403. m_PrefabAsset: {fileID: 0}
  404. m_GameObject: {fileID: 1875594423}
  405. m_Enabled: 1
  406. m_CastShadows: 1
  407. m_ReceiveShadows: 1
  408. m_DynamicOccludee: 1
  409. m_MotionVectors: 1
  410. m_LightProbeUsage: 1
  411. m_ReflectionProbeUsage: 1
  412. m_RayTracingMode: 2
  413. m_RenderingLayerMask: 1
  414. m_RendererPriority: 0
  415. m_Materials:
  416. - {fileID: 2100000, guid: 63bd0a13598090c479c489c606aac53e, type: 2}
  417. m_StaticBatchInfo:
  418. firstSubMesh: 0
  419. subMeshCount: 0
  420. m_StaticBatchRoot: {fileID: 0}
  421. m_ProbeAnchor: {fileID: 0}
  422. m_LightProbeVolumeOverride: {fileID: 0}
  423. m_ScaleInLightmap: 1
  424. m_ReceiveGI: 1
  425. m_PreserveUVs: 1
  426. m_IgnoreNormalsForChartDetection: 0
  427. m_ImportantGI: 0
  428. m_StitchLightmapSeams: 0
  429. m_SelectedEditorRenderState: 3
  430. m_MinimumChartSize: 4
  431. m_AutoUVMaxDistance: 0.5
  432. m_AutoUVMaxAngle: 89
  433. m_LightmapParameters: {fileID: 0}
  434. m_SortingLayerID: 0
  435. m_SortingLayer: 0
  436. m_SortingOrder: 0
  437. --- !u!65 &1875594425
  438. BoxCollider:
  439. m_ObjectHideFlags: 0
  440. m_CorrespondingSourceObject: {fileID: 0}
  441. m_PrefabInstance: {fileID: 0}
  442. m_PrefabAsset: {fileID: 0}
  443. m_GameObject: {fileID: 1875594423}
  444. m_Material: {fileID: 0}
  445. m_IsTrigger: 0
  446. m_Enabled: 1
  447. serializedVersion: 2
  448. m_Size: {x: 1, y: 1, z: 1}
  449. m_Center: {x: 0, y: 0, z: 0}
  450. --- !u!33 &1875594426
  451. MeshFilter:
  452. m_ObjectHideFlags: 0
  453. m_CorrespondingSourceObject: {fileID: 0}
  454. m_PrefabInstance: {fileID: 0}
  455. m_PrefabAsset: {fileID: 0}
  456. m_GameObject: {fileID: 1875594423}
  457. m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
  458. --- !u!4 &1875594427
  459. Transform:
  460. m_ObjectHideFlags: 0
  461. m_CorrespondingSourceObject: {fileID: 0}
  462. m_PrefabInstance: {fileID: 0}
  463. m_PrefabAsset: {fileID: 0}
  464. m_GameObject: {fileID: 1875594423}
  465. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  466. m_LocalPosition: {x: 0, y: 0.183, z: 1.439}
  467. m_LocalScale: {x: 0.2, y: 0.2, z: 0.2}
  468. m_Children:
  469. - {fileID: 1285889351}
  470. m_Father: {fileID: 0}
  471. m_RootOrder: 1
  472. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  473. --- !u!114 &1875594428
  474. MonoBehaviour:
  475. m_ObjectHideFlags: 0
  476. m_CorrespondingSourceObject: {fileID: 0}
  477. m_PrefabInstance: {fileID: 0}
  478. m_PrefabAsset: {fileID: 0}
  479. m_GameObject: {fileID: 1875594423}
  480. m_Enabled: 1
  481. m_EditorHideFlags: 0
  482. m_Script: {fileID: 11500000, guid: 1f8ee4301c87e5b478090e6169e35b94, type: 3}
  483. m_Name:
  484. m_EditorClassIdentifier:
  485. followDistance: 2
  486. followTime: 2