1
0

Simple Sample.unity 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  1. %YAML 1.1
  2. %TAG !u! tag:unity3d.com,2011:
  3. --- !u!29 &1
  4. SceneSettings:
  5. m_ObjectHideFlags: 0
  6. m_PVSData:
  7. m_PVSObjectsArray: []
  8. m_PVSPortalsArray: []
  9. m_OcclusionBakeSettings:
  10. smallestOccluder: 5
  11. smallestHole: 0.25
  12. backfaceThreshold: 100
  13. --- !u!104 &2
  14. RenderSettings:
  15. m_ObjectHideFlags: 0
  16. serializedVersion: 7
  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_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
  29. m_HaloStrength: 0.5
  30. m_FlareStrength: 1
  31. m_FlareFadeSpeed: 3
  32. m_HaloTexture: {fileID: 0}
  33. m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
  34. m_DefaultReflectionMode: 0
  35. m_DefaultReflectionResolution: 128
  36. m_ReflectionBounces: 1
  37. m_ReflectionIntensity: 1
  38. m_CustomReflection: {fileID: 0}
  39. m_Sun: {fileID: 0}
  40. m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
  41. --- !u!157 &3
  42. LightmapSettings:
  43. m_ObjectHideFlags: 0
  44. serializedVersion: 7
  45. m_GIWorkflowMode: 1
  46. m_GISettings:
  47. serializedVersion: 2
  48. m_BounceScale: 1
  49. m_IndirectOutputScale: 1
  50. m_AlbedoBoost: 1
  51. m_TemporalCoherenceThreshold: 1
  52. m_EnvironmentLightingMode: 0
  53. m_EnableBakedLightmaps: 1
  54. m_EnableRealtimeLightmaps: 1
  55. m_LightmapEditorSettings:
  56. serializedVersion: 4
  57. m_Resolution: 2
  58. m_BakeResolution: 40
  59. m_TextureWidth: 1024
  60. m_TextureHeight: 1024
  61. m_AO: 0
  62. m_AOMaxDistance: 1
  63. m_CompAOExponent: 1
  64. m_CompAOExponentDirect: 0
  65. m_Padding: 2
  66. m_LightmapParameters: {fileID: 0}
  67. m_LightmapsBakeMode: 1
  68. m_TextureCompression: 1
  69. m_DirectLightInLightProbes: 1
  70. m_FinalGather: 0
  71. m_FinalGatherFiltering: 1
  72. m_FinalGatherRayCount: 256
  73. m_ReflectionCompression: 2
  74. m_LightingDataAsset: {fileID: 0}
  75. m_RuntimeCPUUsage: 25
  76. --- !u!196 &4
  77. NavMeshSettings:
  78. serializedVersion: 2
  79. m_ObjectHideFlags: 0
  80. m_BuildSettings:
  81. serializedVersion: 2
  82. agentRadius: 0.5
  83. agentHeight: 2
  84. agentSlope: 45
  85. agentClimb: 0.4
  86. ledgeDropHeight: 0
  87. maxJumpAcrossDistance: 0
  88. accuratePlacement: 0
  89. minRegionArea: 2
  90. cellSize: 0.16666667
  91. manualCellSize: 0
  92. m_NavMeshData: {fileID: 0}
  93. --- !u!1 &24851820
  94. GameObject:
  95. m_ObjectHideFlags: 0
  96. m_PrefabParentObject: {fileID: 0}
  97. m_PrefabInternal: {fileID: 0}
  98. serializedVersion: 4
  99. m_Component:
  100. - 4: {fileID: 24851825}
  101. - 33: {fileID: 24851824}
  102. - 135: {fileID: 24851823}
  103. - 23: {fileID: 24851822}
  104. - 54: {fileID: 24851821}
  105. m_Layer: 0
  106. m_Name: Sphere
  107. m_TagString: Untagged
  108. m_Icon: {fileID: 0}
  109. m_NavMeshLayer: 0
  110. m_StaticEditorFlags: 0
  111. m_IsActive: 1
  112. --- !u!54 &24851821
  113. Rigidbody:
  114. m_ObjectHideFlags: 0
  115. m_PrefabParentObject: {fileID: 0}
  116. m_PrefabInternal: {fileID: 0}
  117. m_GameObject: {fileID: 24851820}
  118. serializedVersion: 2
  119. m_Mass: 1
  120. m_Drag: 0
  121. m_AngularDrag: 0
  122. m_UseGravity: 1
  123. m_IsKinematic: 0
  124. m_Interpolate: 1
  125. m_Constraints: 0
  126. m_CollisionDetection: 0
  127. --- !u!23 &24851822
  128. MeshRenderer:
  129. m_ObjectHideFlags: 0
  130. m_PrefabParentObject: {fileID: 0}
  131. m_PrefabInternal: {fileID: 0}
  132. m_GameObject: {fileID: 24851820}
  133. m_Enabled: 1
  134. m_CastShadows: 1
  135. m_ReceiveShadows: 1
  136. m_MotionVectors: 1
  137. m_LightProbeUsage: 1
  138. m_ReflectionProbeUsage: 1
  139. m_Materials:
  140. - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
  141. m_SubsetIndices:
  142. m_StaticBatchRoot: {fileID: 0}
  143. m_ProbeAnchor: {fileID: 0}
  144. m_LightProbeVolumeOverride: {fileID: 0}
  145. m_ScaleInLightmap: 1
  146. m_PreserveUVs: 1
  147. m_IgnoreNormalsForChartDetection: 0
  148. m_ImportantGI: 0
  149. m_SelectedWireframeHidden: 0
  150. m_MinimumChartSize: 4
  151. m_AutoUVMaxDistance: 0.5
  152. m_AutoUVMaxAngle: 89
  153. m_LightmapParameters: {fileID: 0}
  154. m_SortingLayerID: 0
  155. m_SortingOrder: 0
  156. --- !u!135 &24851823
  157. SphereCollider:
  158. m_ObjectHideFlags: 0
  159. m_PrefabParentObject: {fileID: 0}
  160. m_PrefabInternal: {fileID: 0}
  161. m_GameObject: {fileID: 24851820}
  162. m_Material: {fileID: 13400000, guid: 2e81b378186c0ed4c98c04cfd4096914, type: 2}
  163. m_IsTrigger: 0
  164. m_Enabled: 1
  165. serializedVersion: 2
  166. m_Radius: 0.5
  167. m_Center: {x: 0, y: 0, z: 0}
  168. --- !u!33 &24851824
  169. MeshFilter:
  170. m_ObjectHideFlags: 0
  171. m_PrefabParentObject: {fileID: 0}
  172. m_PrefabInternal: {fileID: 0}
  173. m_GameObject: {fileID: 24851820}
  174. m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
  175. --- !u!4 &24851825
  176. Transform:
  177. m_ObjectHideFlags: 0
  178. m_PrefabParentObject: {fileID: 0}
  179. m_PrefabInternal: {fileID: 0}
  180. m_GameObject: {fileID: 24851820}
  181. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  182. m_LocalPosition: {x: 0, y: 1.624, z: 2.68}
  183. m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
  184. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  185. m_Children: []
  186. m_Father: {fileID: 0}
  187. m_RootOrder: 3
  188. --- !u!21 &61595452
  189. Material:
  190. serializedVersion: 6
  191. m_ObjectHideFlags: 0
  192. m_PrefabParentObject: {fileID: 0}
  193. m_PrefabInternal: {fileID: 0}
  194. m_Name: Sprites/Default
  195. m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
  196. m_ShaderKeywords:
  197. m_LightmapFlags: 5
  198. m_CustomRenderQueue: -1
  199. stringTagMap: {}
  200. m_SavedProperties:
  201. serializedVersion: 2
  202. m_TexEnvs:
  203. - first:
  204. name: _MainTex
  205. second:
  206. m_Texture: {fileID: 0}
  207. m_Scale: {x: 1, y: 1}
  208. m_Offset: {x: 0, y: 0}
  209. m_Floats:
  210. - first:
  211. name: PixelSnap
  212. second: 0
  213. m_Colors:
  214. - first:
  215. name: _Color
  216. second: {r: 1, g: 1, b: 1, a: 1}
  217. --- !u!43 &190246277
  218. Mesh:
  219. m_ObjectHideFlags: 0
  220. m_PrefabParentObject: {fileID: 0}
  221. m_PrefabInternal: {fileID: 0}
  222. m_Name:
  223. serializedVersion: 8
  224. m_SubMeshes:
  225. - serializedVersion: 2
  226. firstByte: 0
  227. indexCount: 24
  228. topology: 0
  229. firstVertex: 0
  230. vertexCount: 8
  231. localAABB:
  232. m_Center: {x: 0, y: 0.01, z: 0}
  233. m_Extent: {x: 1.65, y: 0, z: 1.275}
  234. m_Shapes:
  235. vertices: []
  236. shapes: []
  237. channels: []
  238. fullWeights: []
  239. m_BindPose: []
  240. m_BoneNameHashes:
  241. m_RootBoneNameHash: 0
  242. m_MeshCompression: 0
  243. m_IsReadable: 1
  244. m_KeepVertices: 1
  245. m_KeepIndices: 1
  246. m_IndexBuffer: 000004000100010004000500010005000200020005000600020006000300030006000700030007000000000007000400
  247. m_Skin: []
  248. m_VertexData:
  249. m_CurrentChannels: 13
  250. m_VertexCount: 8
  251. m_Channels:
  252. - stream: 0
  253. offset: 0
  254. format: 0
  255. dimension: 3
  256. - stream: 0
  257. offset: 0
  258. format: 0
  259. dimension: 0
  260. - stream: 0
  261. offset: 12
  262. format: 0
  263. dimension: 4
  264. - stream: 0
  265. offset: 28
  266. format: 0
  267. dimension: 2
  268. - stream: 0
  269. offset: 0
  270. format: 0
  271. dimension: 0
  272. - stream: 0
  273. offset: 0
  274. format: 0
  275. dimension: 0
  276. - stream: 0
  277. offset: 0
  278. format: 0
  279. dimension: 0
  280. - stream: 0
  281. offset: 0
  282. format: 0
  283. dimension: 0
  284. m_DataSize: 288
  285. _typelessdata: 0000c03f0ad7233c000090bf000000000000803f0000803f0000803f00000000000000000000c0bf0ad7233c000090bf000000000000803f0000803f0000803f0000803f000000000000c0bf0ad7233c0000903f000000000000803f0000803f0000803f00000000000000000000c03f0ad7233c0000903f000000000000803f0000803f0000803f0000803f000000003333d33f0ad7233c3333a3bf000000000000803f0000803f00000000000000000000803f3333d3bf0ad7233c3333a3bf000000000000803f0000803f000000000000803f0000803f3333d3bf0ad7233c3333a33f000000000000803f0000803f00000000000000000000803f3333d33f0ad7233c3333a33f000000000000803f0000803f000000000000803f0000803f
  286. m_CompressedMesh:
  287. m_Vertices:
  288. m_NumItems: 0
  289. m_Range: 0
  290. m_Start: 0
  291. m_Data:
  292. m_BitSize: 0
  293. m_UV:
  294. m_NumItems: 0
  295. m_Range: 0
  296. m_Start: 0
  297. m_Data:
  298. m_BitSize: 0
  299. m_Normals:
  300. m_NumItems: 0
  301. m_Range: 0
  302. m_Start: 0
  303. m_Data:
  304. m_BitSize: 0
  305. m_Tangents:
  306. m_NumItems: 0
  307. m_Range: 0
  308. m_Start: 0
  309. m_Data:
  310. m_BitSize: 0
  311. m_Weights:
  312. m_NumItems: 0
  313. m_Data:
  314. m_BitSize: 0
  315. m_NormalSigns:
  316. m_NumItems: 0
  317. m_Data:
  318. m_BitSize: 0
  319. m_TangentSigns:
  320. m_NumItems: 0
  321. m_Data:
  322. m_BitSize: 0
  323. m_FloatColors:
  324. m_NumItems: 0
  325. m_Range: 0
  326. m_Start: 0
  327. m_Data:
  328. m_BitSize: 0
  329. m_BoneIndices:
  330. m_NumItems: 0
  331. m_Data:
  332. m_BitSize: 0
  333. m_Triangles:
  334. m_NumItems: 0
  335. m_Data:
  336. m_BitSize: 0
  337. m_UVInfo: 0
  338. m_LocalAABB:
  339. m_Center: {x: 0, y: 0.01, z: 0}
  340. m_Extent: {x: 1.65, y: 0, z: 1.275}
  341. m_MeshUsageFlags: 0
  342. m_BakedConvexCollisionMesh:
  343. m_BakedTriangleCollisionMesh:
  344. m_MeshOptimized: 0
  345. --- !u!1001 &1474170597
  346. Prefab:
  347. m_ObjectHideFlags: 0
  348. serializedVersion: 2
  349. m_Modification:
  350. m_TransformParent: {fileID: 0}
  351. m_Modifications:
  352. - target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
  353. propertyPath: m_LocalPosition.x
  354. value: 0
  355. objectReference: {fileID: 0}
  356. - target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
  357. propertyPath: m_LocalPosition.y
  358. value: 0
  359. objectReference: {fileID: 0}
  360. - target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
  361. propertyPath: m_LocalPosition.z
  362. value: 0
  363. objectReference: {fileID: 0}
  364. - target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
  365. propertyPath: m_LocalRotation.x
  366. value: 0
  367. objectReference: {fileID: 0}
  368. - target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
  369. propertyPath: m_LocalRotation.y
  370. value: 0
  371. objectReference: {fileID: 0}
  372. - target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
  373. propertyPath: m_LocalRotation.z
  374. value: 0
  375. objectReference: {fileID: 0}
  376. - target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
  377. propertyPath: m_LocalRotation.w
  378. value: 1
  379. objectReference: {fileID: 0}
  380. - target: {fileID: 420908, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
  381. propertyPath: m_RootOrder
  382. value: 2
  383. objectReference: {fileID: 0}
  384. - target: {fileID: 3380982, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
  385. propertyPath: m_Mesh
  386. value:
  387. objectReference: {fileID: 190246277}
  388. - target: {fileID: 2348914, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
  389. propertyPath: m_Materials.Array.data[0]
  390. value:
  391. objectReference: {fileID: 61595452}
  392. m_RemovedComponents: []
  393. m_ParentPrefab: {fileID: 100100000, guid: 4d293c8e162f3874b982baadd71153d2, type: 2}
  394. m_IsPrefabParent: 0
  395. --- !u!1 &1548954329
  396. GameObject:
  397. m_ObjectHideFlags: 0
  398. m_PrefabParentObject: {fileID: 0}
  399. m_PrefabInternal: {fileID: 0}
  400. serializedVersion: 4
  401. m_Component:
  402. - 4: {fileID: 1548954331}
  403. - 108: {fileID: 1548954330}
  404. m_Layer: 0
  405. m_Name: Directional Light
  406. m_TagString: Untagged
  407. m_Icon: {fileID: 0}
  408. m_NavMeshLayer: 0
  409. m_StaticEditorFlags: 0
  410. m_IsActive: 1
  411. --- !u!108 &1548954330
  412. Light:
  413. m_ObjectHideFlags: 0
  414. m_PrefabParentObject: {fileID: 0}
  415. m_PrefabInternal: {fileID: 0}
  416. m_GameObject: {fileID: 1548954329}
  417. m_Enabled: 1
  418. serializedVersion: 7
  419. m_Type: 1
  420. m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
  421. m_Intensity: 1
  422. m_Range: 10
  423. m_SpotAngle: 30
  424. m_CookieSize: 10
  425. m_Shadows:
  426. m_Type: 2
  427. m_Resolution: -1
  428. m_CustomResolution: -1
  429. m_Strength: 1
  430. m_Bias: 0.05
  431. m_NormalBias: 0.4
  432. m_NearPlane: 0.2
  433. m_Cookie: {fileID: 0}
  434. m_DrawHalo: 0
  435. m_Flare: {fileID: 0}
  436. m_RenderMode: 0
  437. m_CullingMask:
  438. serializedVersion: 2
  439. m_Bits: 4294967295
  440. m_Lightmapping: 4
  441. m_AreaSize: {x: 1, y: 1}
  442. m_BounceIntensity: 1
  443. m_ShadowRadius: 0
  444. m_ShadowAngle: 0
  445. --- !u!4 &1548954331
  446. Transform:
  447. m_ObjectHideFlags: 0
  448. m_PrefabParentObject: {fileID: 0}
  449. m_PrefabInternal: {fileID: 0}
  450. m_GameObject: {fileID: 1548954329}
  451. m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
  452. m_LocalPosition: {x: 0, y: 3, z: 0}
  453. m_LocalScale: {x: 1, y: 1, z: 1}
  454. m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
  455. m_Children: []
  456. m_Father: {fileID: 0}
  457. m_RootOrder: 0
  458. --- !u!1 &1578927695
  459. GameObject:
  460. m_ObjectHideFlags: 0
  461. m_PrefabParentObject: {fileID: 0}
  462. m_PrefabInternal: {fileID: 0}
  463. serializedVersion: 4
  464. m_Component:
  465. - 4: {fileID: 1578927699}
  466. - 33: {fileID: 1578927698}
  467. - 23: {fileID: 1578927697}
  468. - 65: {fileID: 1578927696}
  469. m_Layer: 0
  470. m_Name: Floor
  471. m_TagString: Untagged
  472. m_Icon: {fileID: 0}
  473. m_NavMeshLayer: 0
  474. m_StaticEditorFlags: 0
  475. m_IsActive: 1
  476. --- !u!65 &1578927696
  477. BoxCollider:
  478. m_ObjectHideFlags: 0
  479. m_PrefabParentObject: {fileID: 0}
  480. m_PrefabInternal: {fileID: 0}
  481. m_GameObject: {fileID: 1578927695}
  482. m_Material: {fileID: 0}
  483. m_IsTrigger: 0
  484. m_Enabled: 1
  485. serializedVersion: 2
  486. m_Size: {x: 10, y: 0.1, z: 10.000001}
  487. m_Center: {x: 0, y: -0.05, z: 0}
  488. --- !u!23 &1578927697
  489. MeshRenderer:
  490. m_ObjectHideFlags: 0
  491. m_PrefabParentObject: {fileID: 0}
  492. m_PrefabInternal: {fileID: 0}
  493. m_GameObject: {fileID: 1578927695}
  494. m_Enabled: 1
  495. m_CastShadows: 1
  496. m_ReceiveShadows: 1
  497. m_MotionVectors: 1
  498. m_LightProbeUsage: 1
  499. m_ReflectionProbeUsage: 1
  500. m_Materials:
  501. - {fileID: 2100000, guid: b41d1116a101a84499296ce28d16e6b9, type: 2}
  502. m_SubsetIndices:
  503. m_StaticBatchRoot: {fileID: 0}
  504. m_ProbeAnchor: {fileID: 0}
  505. m_LightProbeVolumeOverride: {fileID: 0}
  506. m_ScaleInLightmap: 1
  507. m_PreserveUVs: 1
  508. m_IgnoreNormalsForChartDetection: 0
  509. m_ImportantGI: 0
  510. m_SelectedWireframeHidden: 0
  511. m_MinimumChartSize: 4
  512. m_AutoUVMaxDistance: 0.5
  513. m_AutoUVMaxAngle: 89
  514. m_LightmapParameters: {fileID: 0}
  515. m_SortingLayerID: 0
  516. m_SortingOrder: 0
  517. --- !u!33 &1578927698
  518. MeshFilter:
  519. m_ObjectHideFlags: 0
  520. m_PrefabParentObject: {fileID: 0}
  521. m_PrefabInternal: {fileID: 0}
  522. m_GameObject: {fileID: 1578927695}
  523. m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
  524. --- !u!4 &1578927699
  525. Transform:
  526. m_ObjectHideFlags: 0
  527. m_PrefabParentObject: {fileID: 0}
  528. m_PrefabInternal: {fileID: 0}
  529. m_GameObject: {fileID: 1578927695}
  530. m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
  531. m_LocalPosition: {x: 0, y: 0, z: 0}
  532. m_LocalScale: {x: 4, y: 3, z: 4}
  533. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  534. m_Children: []
  535. m_Father: {fileID: 0}
  536. m_RootOrder: 1