LineGenerationScripts.unity 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  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.2, g: 0.2, b: 0.2, a: 1}
  24. m_AmbientEquatorColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
  25. m_AmbientGroundColor: {r: 0.2, g: 0.2, b: 0.2, a: 1}
  26. m_AmbientIntensity: 1
  27. m_AmbientMode: 3
  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, g: 0, b: 0, a: 1}
  42. m_UseRadianceAmbientProbe: 0
  43. --- !u!157 &4
  44. LightmapSettings:
  45. m_ObjectHideFlags: 0
  46. serializedVersion: 11
  47. m_GIWorkflowMode: 1
  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: 0
  56. m_LightmapEditorSettings:
  57. serializedVersion: 12
  58. m_Resolution: 1
  59. m_BakeResolution: 50
  60. m_AtlasSize: 1024
  61. m_AO: 0
  62. m_AOMaxDistance: 1
  63. m_CompAOExponent: 0
  64. m_CompAOExponentDirect: 0
  65. m_ExtractAmbientOcclusion: 0
  66. m_Padding: 2
  67. m_LightmapParameters: {fileID: 0}
  68. m_LightmapsBakeMode: 1
  69. m_TextureCompression: 0
  70. m_FinalGather: 0
  71. m_FinalGatherFiltering: 1
  72. m_FinalGatherRayCount: 1024
  73. m_ReflectionCompression: 2
  74. m_MixedBakeMode: 1
  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: 0
  102. --- !u!196 &5
  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.16666666
  118. manualTileSize: 0
  119. tileSize: 256
  120. accuratePlacement: 0
  121. debug:
  122. m_Flags: 0
  123. m_NavMeshData: {fileID: 0}
  124. --- !u!1 &223041623
  125. GameObject:
  126. m_ObjectHideFlags: 0
  127. m_CorrespondingSourceObject: {fileID: 124540, guid: 17335120f1a0a5540b098a3781297d48,
  128. type: 3}
  129. m_PrefabInstance: {fileID: 0}
  130. m_PrefabAsset: {fileID: 0}
  131. serializedVersion: 6
  132. m_Component:
  133. - component: {fileID: 223041625}
  134. - component: {fileID: 223041624}
  135. m_Layer: 0
  136. m_Name: Generate 3
  137. m_TagString: Untagged
  138. m_Icon: {fileID: 0}
  139. m_NavMeshLayer: 0
  140. m_StaticEditorFlags: 0
  141. m_IsActive: 1
  142. --- !u!114 &223041624
  143. MonoBehaviour:
  144. m_ObjectHideFlags: 0
  145. m_CorrespondingSourceObject: {fileID: 11424540, guid: 17335120f1a0a5540b098a3781297d48,
  146. type: 3}
  147. m_PrefabInstance: {fileID: 0}
  148. m_PrefabAsset: {fileID: 0}
  149. m_GameObject: {fileID: 223041623}
  150. m_Enabled: 1
  151. m_EditorHideFlags: 0
  152. m_Script: {fileID: 11500000, guid: 337d0041a7dd7564e81c5f906c45230f, type: 3}
  153. m_Name:
  154. m_EditorClassIdentifier:
  155. m_templateMaterial: {fileID: 2100000, guid: 974b33ccbd786464a825203eb88b8dab, type: 2}
  156. m_doNotOverwriteTemplateMaterialProperties: 0
  157. m_lineColor: {r: 1, g: 0, b: 0, a: 1}
  158. m_lineWidth: 30
  159. m_lightSaberFactor: 0.8
  160. m_lineVertices:
  161. - {x: 15, y: -10, z: 0}
  162. - {x: 25, y: 0, z: 0}
  163. - {x: 50, y: 0, z: 0}
  164. - {x: 70, y: -15, z: 0}
  165. - {x: 70, y: -35, z: 0}
  166. - {x: 50, y: -50, z: 0}
  167. - {x: 70, y: -65, z: 0}
  168. - {x: 70, y: -90, z: 0}
  169. - {x: 55, y: -105, z: 0}
  170. - {x: 20, y: -105, z: 0}
  171. - {x: 10, y: -95, z: 0}
  172. --- !u!4 &223041625
  173. Transform:
  174. m_ObjectHideFlags: 0
  175. m_CorrespondingSourceObject: {fileID: 424540, guid: 17335120f1a0a5540b098a3781297d48,
  176. type: 3}
  177. m_PrefabInstance: {fileID: 0}
  178. m_PrefabAsset: {fileID: 0}
  179. m_GameObject: {fileID: 223041623}
  180. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  181. m_LocalPosition: {x: -16, y: 154, z: 0}
  182. m_LocalScale: {x: 1, y: 1, z: 1}
  183. m_Children: []
  184. m_Father: {fileID: 0}
  185. m_RootOrder: 2
  186. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  187. --- !u!1 &470580547
  188. GameObject:
  189. m_ObjectHideFlags: 0
  190. m_CorrespondingSourceObject: {fileID: 0}
  191. m_PrefabInstance: {fileID: 0}
  192. m_PrefabAsset: {fileID: 0}
  193. serializedVersion: 6
  194. m_Component:
  195. - component: {fileID: 470580549}
  196. - component: {fileID: 470580548}
  197. m_Layer: 0
  198. m_Name: Create upper sinus-shaped line strip
  199. m_TagString: Untagged
  200. m_Icon: {fileID: 0}
  201. m_NavMeshLayer: 0
  202. m_StaticEditorFlags: 0
  203. m_IsActive: 1
  204. --- !u!114 &470580548
  205. MonoBehaviour:
  206. m_ObjectHideFlags: 0
  207. m_CorrespondingSourceObject: {fileID: 0}
  208. m_PrefabInstance: {fileID: 0}
  209. m_PrefabAsset: {fileID: 0}
  210. m_GameObject: {fileID: 470580547}
  211. m_Enabled: 1
  212. m_EditorHideFlags: 0
  213. m_Script: {fileID: 11500000, guid: 43ec8a26d513771429bb2850461a3223, type: 3}
  214. m_Name:
  215. m_EditorClassIdentifier:
  216. m_numVertices: 20
  217. m_volumetricLineStripMaterial: {fileID: 2100000, guid: 93650598a03e42b43b19fe787c484e93,
  218. type: 2}
  219. m_color: {r: 0.5957387, g: 0.057850357, b: 0.78676474, a: 1}
  220. m_start: 0
  221. m_end: 3.1415927
  222. --- !u!4 &470580549
  223. Transform:
  224. m_ObjectHideFlags: 0
  225. m_CorrespondingSourceObject: {fileID: 0}
  226. m_PrefabInstance: {fileID: 0}
  227. m_PrefabAsset: {fileID: 0}
  228. m_GameObject: {fileID: 470580547}
  229. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  230. m_LocalPosition: {x: -157.99, y: 107, z: 0}
  231. m_LocalScale: {x: 100, y: 100, z: 100}
  232. m_Children: []
  233. m_Father: {fileID: 0}
  234. m_RootOrder: 3
  235. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  236. --- !u!1 &1228621163
  237. GameObject:
  238. m_ObjectHideFlags: 0
  239. m_CorrespondingSourceObject: {fileID: 0}
  240. m_PrefabInstance: {fileID: 0}
  241. m_PrefabAsset: {fileID: 0}
  242. serializedVersion: 6
  243. m_Component:
  244. - component: {fileID: 1228621165}
  245. - component: {fileID: 1228621164}
  246. m_Layer: 0
  247. m_Name: Create lower sinus-shaped line strip
  248. m_TagString: Untagged
  249. m_Icon: {fileID: 0}
  250. m_NavMeshLayer: 0
  251. m_StaticEditorFlags: 0
  252. m_IsActive: 1
  253. --- !u!114 &1228621164
  254. MonoBehaviour:
  255. m_ObjectHideFlags: 0
  256. m_CorrespondingSourceObject: {fileID: 0}
  257. m_PrefabInstance: {fileID: 0}
  258. m_PrefabAsset: {fileID: 0}
  259. m_GameObject: {fileID: 1228621163}
  260. m_Enabled: 1
  261. m_EditorHideFlags: 0
  262. m_Script: {fileID: 11500000, guid: 43ec8a26d513771429bb2850461a3223, type: 3}
  263. m_Name:
  264. m_EditorClassIdentifier:
  265. m_numVertices: 20
  266. m_volumetricLineStripMaterial: {fileID: 2100000, guid: 93650598a03e42b43b19fe787c484e93,
  267. type: 2}
  268. m_color: {r: 0.5957387, g: 0.057850357, b: 0.78676474, a: 1}
  269. m_start: 0
  270. m_end: 3.1415927
  271. --- !u!4 &1228621165
  272. Transform:
  273. m_ObjectHideFlags: 0
  274. m_CorrespondingSourceObject: {fileID: 0}
  275. m_PrefabInstance: {fileID: 0}
  276. m_PrefabAsset: {fileID: 0}
  277. m_GameObject: {fileID: 1228621163}
  278. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  279. m_LocalPosition: {x: -157.99, y: 87, z: 0}
  280. m_LocalScale: {x: 100, y: -100, z: 100}
  281. m_Children: []
  282. m_Father: {fileID: 0}
  283. m_RootOrder: 4
  284. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  285. --- !u!1 &1983835454
  286. GameObject:
  287. m_ObjectHideFlags: 0
  288. m_CorrespondingSourceObject: {fileID: 124540, guid: 17335120f1a0a5540b098a3781297d48,
  289. type: 3}
  290. m_PrefabInstance: {fileID: 0}
  291. m_PrefabAsset: {fileID: 0}
  292. serializedVersion: 6
  293. m_Component:
  294. - component: {fileID: 1983835456}
  295. - component: {fileID: 1983835455}
  296. m_Layer: 0
  297. m_Name: Generate v
  298. m_TagString: Untagged
  299. m_Icon: {fileID: 0}
  300. m_NavMeshLayer: 0
  301. m_StaticEditorFlags: 0
  302. m_IsActive: 1
  303. --- !u!114 &1983835455
  304. MonoBehaviour:
  305. m_ObjectHideFlags: 0
  306. m_CorrespondingSourceObject: {fileID: 11424540, guid: 17335120f1a0a5540b098a3781297d48,
  307. type: 3}
  308. m_PrefabInstance: {fileID: 0}
  309. m_PrefabAsset: {fileID: 0}
  310. m_GameObject: {fileID: 1983835454}
  311. m_Enabled: 1
  312. m_EditorHideFlags: 0
  313. m_Script: {fileID: 11500000, guid: 337d0041a7dd7564e81c5f906c45230f, type: 3}
  314. m_Name:
  315. m_EditorClassIdentifier:
  316. m_templateMaterial: {fileID: 2100000, guid: 974b33ccbd786464a825203eb88b8dab, type: 2}
  317. m_doNotOverwriteTemplateMaterialProperties: 0
  318. m_lineColor: {r: 1, g: 0, b: 0, a: 1}
  319. m_lineWidth: 30
  320. m_lightSaberFactor: 0.8
  321. m_lineVertices:
  322. - {x: -20, y: 40, z: 0}
  323. - {x: 0, y: 0, z: 0}
  324. - {x: 20, y: 40, z: 0}
  325. --- !u!4 &1983835456
  326. Transform:
  327. m_ObjectHideFlags: 0
  328. m_CorrespondingSourceObject: {fileID: 424540, guid: 17335120f1a0a5540b098a3781297d48,
  329. type: 3}
  330. m_PrefabInstance: {fileID: 0}
  331. m_PrefabAsset: {fileID: 0}
  332. m_GameObject: {fileID: 1983835454}
  333. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  334. m_LocalPosition: {x: -53, y: 49, z: 0}
  335. m_LocalScale: {x: 1, y: 1, z: 1}
  336. m_Children: []
  337. m_Father: {fileID: 0}
  338. m_RootOrder: 1
  339. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  340. --- !u!1 &2133933796
  341. GameObject:
  342. m_ObjectHideFlags: 0
  343. m_CorrespondingSourceObject: {fileID: 0}
  344. m_PrefabInstance: {fileID: 0}
  345. m_PrefabAsset: {fileID: 0}
  346. serializedVersion: 6
  347. m_Component:
  348. - component: {fileID: 2133933801}
  349. - component: {fileID: 2133933800}
  350. m_Layer: 0
  351. m_Name: Main Camera
  352. m_TagString: MainCamera
  353. m_Icon: {fileID: 0}
  354. m_NavMeshLayer: 0
  355. m_StaticEditorFlags: 0
  356. m_IsActive: 1
  357. --- !u!20 &2133933800
  358. Camera:
  359. m_ObjectHideFlags: 0
  360. m_CorrespondingSourceObject: {fileID: 0}
  361. m_PrefabInstance: {fileID: 0}
  362. m_PrefabAsset: {fileID: 0}
  363. m_GameObject: {fileID: 2133933796}
  364. m_Enabled: 1
  365. serializedVersion: 2
  366. m_ClearFlags: 2
  367. m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0.019607844}
  368. m_projectionMatrixMode: 1
  369. m_GateFitMode: 2
  370. m_FOVAxisMode: 0
  371. m_SensorSize: {x: 36, y: 24}
  372. m_LensShift: {x: 0, y: 0}
  373. m_FocalLength: 50
  374. m_NormalizedViewPortRect:
  375. serializedVersion: 2
  376. x: 0
  377. y: 0
  378. width: 1
  379. height: 1
  380. near clip plane: 0.3
  381. far clip plane: 3300
  382. field of view: 87.7
  383. orthographic: 0
  384. orthographic size: 113.2
  385. m_Depth: -1
  386. m_CullingMask:
  387. serializedVersion: 2
  388. m_Bits: 4294967295
  389. m_RenderingPath: -1
  390. m_TargetTexture: {fileID: 0}
  391. m_TargetDisplay: 0
  392. m_TargetEye: 3
  393. m_HDR: 0
  394. m_AllowMSAA: 0
  395. m_AllowDynamicResolution: 0
  396. m_ForceIntoRT: 0
  397. m_OcclusionCulling: 0
  398. m_StereoConvergence: 10
  399. m_StereoSeparation: 0.022
  400. --- !u!4 &2133933801
  401. Transform:
  402. m_ObjectHideFlags: 0
  403. m_CorrespondingSourceObject: {fileID: 0}
  404. m_PrefabInstance: {fileID: 0}
  405. m_PrefabAsset: {fileID: 0}
  406. m_GameObject: {fileID: 2133933796}
  407. m_LocalRotation: {x: 0.030366564, y: -0, z: -0, w: 0.99953884}
  408. m_LocalPosition: {x: 0, y: 120.8, z: -200.6}
  409. m_LocalScale: {x: 1, y: 1, z: 1}
  410. m_Children: []
  411. m_Father: {fileID: 0}
  412. m_RootOrder: 0
  413. m_LocalEulerAnglesHint: {x: 3.4800003, y: 0, z: 0}