02 - Multi-line TextMesh Pro.unity 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384
  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: 0
  28. m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
  29. m_SkyboxMaterial: {fileID: 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: 12
  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: 0
  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_LightingSettings: {fileID: 4890085278179872738, guid: 2bf015e748557a84c8fa6bfc44e4d685,
  102. type: 2}
  103. --- !u!196 &5
  104. NavMeshSettings:
  105. serializedVersion: 2
  106. m_ObjectHideFlags: 0
  107. m_BuildSettings:
  108. serializedVersion: 2
  109. agentTypeID: 0
  110. agentRadius: 0.5
  111. agentHeight: 2
  112. agentSlope: 45
  113. agentClimb: 0.4
  114. ledgeDropHeight: 0
  115. maxJumpAcrossDistance: 0
  116. minRegionArea: 2
  117. manualCellSize: 0
  118. cellSize: 0.16666666
  119. manualTileSize: 0
  120. tileSize: 256
  121. accuratePlacement: 0
  122. maxJobWorkers: 0
  123. preserveTilesOutsideBounds: 0
  124. debug:
  125. m_Flags: 0
  126. m_NavMeshData: {fileID: 0}
  127. --- !u!1 &1079079952
  128. GameObject:
  129. m_ObjectHideFlags: 0
  130. m_CorrespondingSourceObject: {fileID: 0}
  131. m_PrefabInstance: {fileID: 0}
  132. m_PrefabAsset: {fileID: 0}
  133. serializedVersion: 6
  134. m_Component:
  135. - component: {fileID: 1079079957}
  136. - component: {fileID: 1079079956}
  137. - component: {fileID: 1079079953}
  138. m_Layer: 0
  139. m_Name: Main Camera
  140. m_TagString: MainCamera
  141. m_Icon: {fileID: 0}
  142. m_NavMeshLayer: 0
  143. m_StaticEditorFlags: 0
  144. m_IsActive: 1
  145. --- !u!81 &1079079953
  146. AudioListener:
  147. m_ObjectHideFlags: 0
  148. m_CorrespondingSourceObject: {fileID: 0}
  149. m_PrefabInstance: {fileID: 0}
  150. m_PrefabAsset: {fileID: 0}
  151. m_GameObject: {fileID: 1079079952}
  152. m_Enabled: 1
  153. --- !u!20 &1079079956
  154. Camera:
  155. m_ObjectHideFlags: 0
  156. m_CorrespondingSourceObject: {fileID: 0}
  157. m_PrefabInstance: {fileID: 0}
  158. m_PrefabAsset: {fileID: 0}
  159. m_GameObject: {fileID: 1079079952}
  160. m_Enabled: 1
  161. serializedVersion: 2
  162. m_ClearFlags: 1
  163. m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
  164. m_projectionMatrixMode: 1
  165. m_GateFitMode: 2
  166. m_FOVAxisMode: 0
  167. m_SensorSize: {x: 36, y: 24}
  168. m_LensShift: {x: 0, y: 0}
  169. m_FocalLength: 50
  170. m_NormalizedViewPortRect:
  171. serializedVersion: 2
  172. x: 0
  173. y: 0
  174. width: 1
  175. height: 1
  176. near clip plane: 0.3
  177. far clip plane: 1000
  178. field of view: 60
  179. orthographic: 0
  180. orthographic size: 100
  181. m_Depth: -1
  182. m_CullingMask:
  183. serializedVersion: 2
  184. m_Bits: 4294967295
  185. m_RenderingPath: -1
  186. m_TargetTexture: {fileID: 0}
  187. m_TargetDisplay: 0
  188. m_TargetEye: 3
  189. m_HDR: 0
  190. m_AllowMSAA: 1
  191. m_AllowDynamicResolution: 0
  192. m_ForceIntoRT: 0
  193. m_OcclusionCulling: 1
  194. m_StereoConvergence: 10
  195. m_StereoSeparation: 0.022
  196. --- !u!4 &1079079957
  197. Transform:
  198. m_ObjectHideFlags: 0
  199. m_CorrespondingSourceObject: {fileID: 0}
  200. m_PrefabInstance: {fileID: 0}
  201. m_PrefabAsset: {fileID: 0}
  202. m_GameObject: {fileID: 1079079952}
  203. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  204. m_LocalPosition: {x: 0, y: 0, z: -40}
  205. m_LocalScale: {x: 1, y: 1, z: 1}
  206. m_Children: []
  207. m_Father: {fileID: 0}
  208. m_RootOrder: 0
  209. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  210. --- !u!1 &1915181340
  211. GameObject:
  212. m_ObjectHideFlags: 0
  213. m_CorrespondingSourceObject: {fileID: 0}
  214. m_PrefabInstance: {fileID: 0}
  215. m_PrefabAsset: {fileID: 0}
  216. serializedVersion: 6
  217. m_Component:
  218. - component: {fileID: 1915181346}
  219. - component: {fileID: 1915181343}
  220. - component: {fileID: 1915181341}
  221. m_Layer: 0
  222. m_Name: Multi Line TextMesh Pro
  223. m_TagString: Untagged
  224. m_Icon: {fileID: 0}
  225. m_NavMeshLayer: 0
  226. m_StaticEditorFlags: 0
  227. m_IsActive: 1
  228. --- !u!114 &1915181341
  229. MonoBehaviour:
  230. m_ObjectHideFlags: 0
  231. m_CorrespondingSourceObject: {fileID: 0}
  232. m_PrefabInstance: {fileID: 0}
  233. m_PrefabAsset: {fileID: 0}
  234. m_GameObject: {fileID: 1915181340}
  235. m_Enabled: 1
  236. m_EditorHideFlags: 0
  237. m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3}
  238. m_Name:
  239. m_EditorClassIdentifier:
  240. m_Material: {fileID: 0}
  241. m_Color: {r: 1, g: 1, b: 1, a: 1}
  242. m_RaycastTarget: 1
  243. m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
  244. m_Maskable: 1
  245. m_OnCullStateChanged:
  246. m_PersistentCalls:
  247. m_Calls: []
  248. m_text: 'Example of <#ff8000>multiple</color>
  249. <#00ff00>lines</color> of text
  250. created
  251. with <#80ff80>TextMesh <#8080ff>Pro</color>!'
  252. m_isRightToLeft: 0
  253. m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
  254. m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
  255. m_fontSharedMaterials: []
  256. m_fontMaterial: {fileID: 0}
  257. m_fontMaterials: []
  258. m_fontColor32:
  259. serializedVersion: 2
  260. rgba: 4294967295
  261. m_fontColor: {r: 1, g: 1, b: 1, a: 1}
  262. m_enableVertexGradient: 0
  263. m_colorMode: 3
  264. m_fontColorGradient:
  265. topLeft: {r: 1, g: 1, b: 1, a: 1}
  266. topRight: {r: 1, g: 1, b: 1, a: 1}
  267. bottomLeft: {r: 1, g: 1, b: 1, a: 1}
  268. bottomRight: {r: 1, g: 1, b: 1, a: 1}
  269. m_fontColorGradientPreset: {fileID: 0}
  270. m_spriteAsset: {fileID: 0}
  271. m_tintAllSprites: 0
  272. m_StyleSheet: {fileID: 0}
  273. m_TextStyleHashCode: -1183493901
  274. m_overrideHtmlColors: 0
  275. m_faceColor:
  276. serializedVersion: 2
  277. rgba: 4294967295
  278. m_fontSize: 36
  279. m_fontSizeBase: 36
  280. m_fontWeight: 400
  281. m_enableAutoSizing: 0
  282. m_fontSizeMin: 18
  283. m_fontSizeMax: 72
  284. m_fontStyle: 0
  285. m_HorizontalAlignment: 1
  286. m_VerticalAlignment: 256
  287. m_textAlignment: 65535
  288. m_characterSpacing: 0
  289. m_wordSpacing: 0
  290. m_lineSpacing: 0
  291. m_lineSpacingMax: 0
  292. m_paragraphSpacing: 0
  293. m_charWidthMaxAdj: 0
  294. m_enableWordWrapping: 0
  295. m_wordWrappingRatios: 0.4
  296. m_overflowMode: 0
  297. m_linkedTextComponent: {fileID: 0}
  298. parentLinkedComponent: {fileID: 0}
  299. m_enableKerning: 1
  300. m_enableExtraPadding: 0
  301. checkPaddingRequired: 0
  302. m_isRichText: 1
  303. m_parseCtrlCharacters: 1
  304. m_isOrthographic: 0
  305. m_isCullingEnabled: 0
  306. m_horizontalMapping: 0
  307. m_verticalMapping: 0
  308. m_uvLineOffset: 0.3
  309. m_geometrySortingOrder: 0
  310. m_IsTextObjectScaleStatic: 0
  311. m_VertexBufferAutoSizeReduction: 1
  312. m_useMaxVisibleDescender: 1
  313. m_pageToDisplay: 1
  314. m_margin: {x: 0, y: 0, z: 0, w: 0}
  315. m_isUsingLegacyAnimationComponent: 0
  316. m_isVolumetricText: 0
  317. m_hasFontAssetChanged: 0
  318. m_renderer: {fileID: 1915181343}
  319. m_maskType: 0
  320. _SortingLayer: 0
  321. _SortingLayerID: 0
  322. _SortingOrder: 0
  323. --- !u!23 &1915181343
  324. MeshRenderer:
  325. m_ObjectHideFlags: 0
  326. m_CorrespondingSourceObject: {fileID: 0}
  327. m_PrefabInstance: {fileID: 0}
  328. m_PrefabAsset: {fileID: 0}
  329. m_GameObject: {fileID: 1915181340}
  330. m_Enabled: 1
  331. m_CastShadows: 0
  332. m_ReceiveShadows: 0
  333. m_DynamicOccludee: 1
  334. m_MotionVectors: 1
  335. m_LightProbeUsage: 0
  336. m_ReflectionProbeUsage: 1
  337. m_RayTracingMode: 2
  338. m_RayTraceProcedural: 0
  339. m_RenderingLayerMask: 4294967295
  340. m_RendererPriority: 0
  341. m_Materials:
  342. - {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
  343. m_StaticBatchInfo:
  344. firstSubMesh: 0
  345. subMeshCount: 0
  346. m_StaticBatchRoot: {fileID: 0}
  347. m_ProbeAnchor: {fileID: 0}
  348. m_LightProbeVolumeOverride: {fileID: 0}
  349. m_ScaleInLightmap: 1
  350. m_ReceiveGI: 1
  351. m_PreserveUVs: 0
  352. m_IgnoreNormalsForChartDetection: 0
  353. m_ImportantGI: 0
  354. m_StitchLightmapSeams: 0
  355. m_SelectedEditorRenderState: 3
  356. m_MinimumChartSize: 4
  357. m_AutoUVMaxDistance: 0.5
  358. m_AutoUVMaxAngle: 89
  359. m_LightmapParameters: {fileID: 0}
  360. m_SortingLayerID: 0
  361. m_SortingLayer: 0
  362. m_SortingOrder: 0
  363. m_AdditionalVertexStreams: {fileID: 0}
  364. --- !u!224 &1915181346
  365. RectTransform:
  366. m_ObjectHideFlags: 0
  367. m_CorrespondingSourceObject: {fileID: 0}
  368. m_PrefabInstance: {fileID: 0}
  369. m_PrefabAsset: {fileID: 0}
  370. m_GameObject: {fileID: 1915181340}
  371. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  372. m_LocalPosition: {x: 0, y: 0, z: 0}
  373. m_LocalScale: {x: 1, y: 1, z: 1}
  374. m_Children: []
  375. m_Father: {fileID: 0}
  376. m_RootOrder: 1
  377. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  378. m_AnchorMin: {x: 0.5, y: 0.5}
  379. m_AnchorMax: {x: 0.5, y: 0.5}
  380. m_AnchoredPosition: {x: 0, y: 0}
  381. m_SizeDelta: {x: 31.685612, y: 12.5}
  382. m_Pivot: {x: 0.5, y: 0.5}