07 - Superscript & Subscript Example.unity 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  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: 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_TemporalCoherenceThreshold: 1
  54. m_EnvironmentLightingMode: 0
  55. m_EnableBakedLightmaps: 1
  56. m_EnableRealtimeLightmaps: 0
  57. m_LightmapEditorSettings:
  58. serializedVersion: 10
  59. m_Resolution: 1
  60. m_BakeResolution: 50
  61. m_AtlasSize: 1024
  62. m_AO: 0
  63. m_AOMaxDistance: 1
  64. m_CompAOExponent: 0
  65. m_CompAOExponentDirect: 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_PVRFilterTypeDirect: 0
  81. m_PVRFilterTypeIndirect: 0
  82. m_PVRFilterTypeAO: 0
  83. m_PVRFilteringMode: 0
  84. m_PVRCulling: 1
  85. m_PVRFilteringGaussRadiusDirect: 1
  86. m_PVRFilteringGaussRadiusIndirect: 5
  87. m_PVRFilteringGaussRadiusAO: 2
  88. m_PVRFilteringAtrousPositionSigmaDirect: 0.5
  89. m_PVRFilteringAtrousPositionSigmaIndirect: 2
  90. m_PVRFilteringAtrousPositionSigmaAO: 1
  91. m_ShowResolutionOverlay: 1
  92. m_LightingDataAsset: {fileID: 0}
  93. m_UseShadowmask: 0
  94. --- !u!196 &5
  95. NavMeshSettings:
  96. serializedVersion: 2
  97. m_ObjectHideFlags: 0
  98. m_BuildSettings:
  99. serializedVersion: 2
  100. agentTypeID: 0
  101. agentRadius: 0.5
  102. agentHeight: 2
  103. agentSlope: 45
  104. agentClimb: 0.4
  105. ledgeDropHeight: 0
  106. maxJumpAcrossDistance: 0
  107. minRegionArea: 2
  108. manualCellSize: 0
  109. cellSize: 0.16666666
  110. manualTileSize: 0
  111. tileSize: 256
  112. accuratePlacement: 0
  113. debug:
  114. m_Flags: 0
  115. m_NavMeshData: {fileID: 0}
  116. --- !u!1 &347737868
  117. GameObject:
  118. m_ObjectHideFlags: 0
  119. m_PrefabParentObject: {fileID: 0}
  120. m_PrefabInternal: {fileID: 0}
  121. serializedVersion: 5
  122. m_Component:
  123. - component: {fileID: 347737872}
  124. - component: {fileID: 347737870}
  125. - component: {fileID: 347737871}
  126. - component: {fileID: 347737869}
  127. - component: {fileID: 347737874}
  128. m_Layer: 0
  129. m_Name: TextMesh Pro - Styles
  130. m_TagString: Untagged
  131. m_Icon: {fileID: 0}
  132. m_NavMeshLayer: 0
  133. m_StaticEditorFlags: 0
  134. m_IsActive: 1
  135. --- !u!114 &347737869
  136. MonoBehaviour:
  137. m_ObjectHideFlags: 0
  138. m_PrefabParentObject: {fileID: 0}
  139. m_PrefabInternal: {fileID: 0}
  140. m_GameObject: {fileID: 347737868}
  141. m_Enabled: 1
  142. m_EditorHideFlags: 0
  143. m_Script: {fileID: 11500000, guid: 9541d86e2fd84c1d9990edf0852d74ab, type: 3}
  144. m_Name:
  145. m_EditorClassIdentifier:
  146. m_Material: {fileID: 0}
  147. m_Color: {r: 1, g: 1, b: 1, a: 1}
  148. m_RaycastTarget: 1
  149. m_OnCullStateChanged:
  150. m_PersistentCalls:
  151. m_Calls: []
  152. m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
  153. Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
  154. m_text: '<u>9x<sup><#00ff00>3</color></sup></u> + <u>4x</u><sup><#00ff00>2</color></sup>
  155. + <u>2x + 4 = 0</u>
  156. <#ffff00><u><i><#ff8000><b>Propane</b></i></u></color> = <u>C<sub><#ffff00>3</color></sub>H<sub><#ffff00>8</color></sub></u>'
  157. m_isRightToLeft: 0
  158. m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
  159. m_sharedMaterial: {fileID: 2100000, guid: e73a58f6e2794ae7b1b7e50b7fb811b0, type: 2}
  160. m_fontSharedMaterials: []
  161. m_fontMaterial: {fileID: 0}
  162. m_fontMaterials: []
  163. m_fontColor32:
  164. serializedVersion: 2
  165. rgba: 4294967295
  166. m_fontColor: {r: 1, g: 1, b: 1, a: 1}
  167. m_enableVertexGradient: 0
  168. m_fontColorGradient:
  169. topLeft: {r: 1, g: 1, b: 1, a: 1}
  170. topRight: {r: 1, g: 1, b: 1, a: 1}
  171. bottomLeft: {r: 1, g: 1, b: 1, a: 1}
  172. bottomRight: {r: 1, g: 1, b: 1, a: 1}
  173. m_fontColorGradientPreset: {fileID: 0}
  174. m_spriteAsset: {fileID: 0}
  175. m_tintAllSprites: 0
  176. m_overrideHtmlColors: 0
  177. m_faceColor:
  178. serializedVersion: 2
  179. rgba: 4294967295
  180. m_outlineColor:
  181. serializedVersion: 2
  182. rgba: 4278190080
  183. m_fontSize: 48
  184. m_fontSizeBase: 36
  185. m_fontWeight: 400
  186. m_enableAutoSizing: 0
  187. m_fontSizeMin: 24
  188. m_fontSizeMax: 96
  189. m_fontStyle: 0
  190. m_textAlignment: 257
  191. m_isAlignmentEnumConverted: 1
  192. m_characterSpacing: 0
  193. m_wordSpacing: 0
  194. m_lineSpacing: 0
  195. m_lineSpacingMax: 0
  196. m_paragraphSpacing: 0
  197. m_charWidthMaxAdj: 0
  198. m_enableWordWrapping: 1
  199. m_wordWrappingRatios: 0.4
  200. m_overflowMode: 0
  201. m_firstOverflowCharacterIndex: -1
  202. m_linkedTextComponent: {fileID: 0}
  203. m_isLinkedTextComponent: 0
  204. m_enableKerning: 1
  205. m_enableExtraPadding: 0
  206. checkPaddingRequired: 0
  207. m_isRichText: 1
  208. m_parseCtrlCharacters: 1
  209. m_isOrthographic: 0
  210. m_isCullingEnabled: 0
  211. m_ignoreRectMaskCulling: 0
  212. m_ignoreCulling: 1
  213. m_horizontalMapping: 0
  214. m_verticalMapping: 2
  215. m_uvLineOffset: 0
  216. m_geometrySortingOrder: 0
  217. m_firstVisibleCharacter: 0
  218. m_useMaxVisibleDescender: 1
  219. m_pageToDisplay: 1
  220. m_margin: {x: 0, y: 0, z: 0, w: 0}
  221. m_textInfo:
  222. textComponent: {fileID: 0}
  223. characterCount: 37
  224. spriteCount: 0
  225. spaceCount: 11
  226. wordCount: 7
  227. linkCount: 0
  228. lineCount: 2
  229. pageCount: 1
  230. materialCount: 1
  231. m_havePropertiesChanged: 0
  232. m_isUsingLegacyAnimationComponent: 0
  233. m_isVolumetricText: 0
  234. m_spriteAnimator: {fileID: 0}
  235. m_isInputParsingRequired: 0
  236. m_inputSource: 0
  237. m_hasFontAssetChanged: 0
  238. m_renderer: {fileID: 347737871}
  239. m_subTextObjects:
  240. - {fileID: 0}
  241. - {fileID: 0}
  242. - {fileID: 0}
  243. - {fileID: 0}
  244. - {fileID: 0}
  245. - {fileID: 0}
  246. - {fileID: 0}
  247. - {fileID: 0}
  248. m_maskType: 0
  249. --- !u!33 &347737870
  250. MeshFilter:
  251. m_ObjectHideFlags: 2
  252. m_PrefabParentObject: {fileID: 0}
  253. m_PrefabInternal: {fileID: 0}
  254. m_GameObject: {fileID: 347737868}
  255. m_Mesh: {fileID: 0}
  256. --- !u!23 &347737871
  257. MeshRenderer:
  258. m_ObjectHideFlags: 0
  259. m_PrefabParentObject: {fileID: 0}
  260. m_PrefabInternal: {fileID: 0}
  261. m_GameObject: {fileID: 347737868}
  262. m_Enabled: 1
  263. m_CastShadows: 0
  264. m_ReceiveShadows: 0
  265. m_DynamicOccludee: 1
  266. m_MotionVectors: 1
  267. m_LightProbeUsage: 0
  268. m_ReflectionProbeUsage: 1
  269. m_RenderingLayerMask: 4294967295
  270. m_Materials:
  271. - {fileID: 2100000, guid: e73a58f6e2794ae7b1b7e50b7fb811b0, type: 2}
  272. m_StaticBatchInfo:
  273. firstSubMesh: 0
  274. subMeshCount: 0
  275. m_StaticBatchRoot: {fileID: 0}
  276. m_ProbeAnchor: {fileID: 0}
  277. m_LightProbeVolumeOverride: {fileID: 0}
  278. m_ScaleInLightmap: 1
  279. m_PreserveUVs: 0
  280. m_IgnoreNormalsForChartDetection: 0
  281. m_ImportantGI: 0
  282. m_StitchLightmapSeams: 0
  283. m_SelectedEditorRenderState: 3
  284. m_MinimumChartSize: 4
  285. m_AutoUVMaxDistance: 0.5
  286. m_AutoUVMaxAngle: 89
  287. m_LightmapParameters: {fileID: 0}
  288. m_SortingLayerID: 0
  289. m_SortingLayer: 0
  290. m_SortingOrder: 0
  291. --- !u!224 &347737872
  292. RectTransform:
  293. m_ObjectHideFlags: 0
  294. m_PrefabParentObject: {fileID: 0}
  295. m_PrefabInternal: {fileID: 0}
  296. m_GameObject: {fileID: 347737868}
  297. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  298. m_LocalPosition: {x: 0, y: 0, z: 0}
  299. m_LocalScale: {x: 1, y: 1, z: 1}
  300. m_Children: []
  301. m_Father: {fileID: 0}
  302. m_RootOrder: 1
  303. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  304. m_AnchorMin: {x: 0.5, y: 0.5}
  305. m_AnchorMax: {x: 0.5, y: 0.5}
  306. m_AnchoredPosition: {x: 0.37905407, y: 0}
  307. m_SizeDelta: {x: 48, y: 14}
  308. m_Pivot: {x: 0.5, y: 0.5}
  309. --- !u!222 &347737874
  310. CanvasRenderer:
  311. m_ObjectHideFlags: 2
  312. m_PrefabParentObject: {fileID: 0}
  313. m_PrefabInternal: {fileID: 0}
  314. m_GameObject: {fileID: 347737868}
  315. --- !u!1 &1079079952
  316. GameObject:
  317. m_ObjectHideFlags: 0
  318. m_PrefabParentObject: {fileID: 0}
  319. m_PrefabInternal: {fileID: 0}
  320. serializedVersion: 5
  321. m_Component:
  322. - component: {fileID: 1079079957}
  323. - component: {fileID: 1079079956}
  324. - component: {fileID: 1079079954}
  325. - component: {fileID: 1079079953}
  326. m_Layer: 0
  327. m_Name: Main Camera
  328. m_TagString: MainCamera
  329. m_Icon: {fileID: 0}
  330. m_NavMeshLayer: 0
  331. m_StaticEditorFlags: 0
  332. m_IsActive: 1
  333. --- !u!81 &1079079953
  334. AudioListener:
  335. m_ObjectHideFlags: 0
  336. m_PrefabParentObject: {fileID: 0}
  337. m_PrefabInternal: {fileID: 0}
  338. m_GameObject: {fileID: 1079079952}
  339. m_Enabled: 1
  340. --- !u!124 &1079079954
  341. Behaviour:
  342. m_ObjectHideFlags: 0
  343. m_PrefabParentObject: {fileID: 0}
  344. m_PrefabInternal: {fileID: 0}
  345. m_GameObject: {fileID: 1079079952}
  346. m_Enabled: 1
  347. --- !u!20 &1079079956
  348. Camera:
  349. m_ObjectHideFlags: 0
  350. m_PrefabParentObject: {fileID: 0}
  351. m_PrefabInternal: {fileID: 0}
  352. m_GameObject: {fileID: 1079079952}
  353. m_Enabled: 1
  354. serializedVersion: 2
  355. m_ClearFlags: 1
  356. m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0.019607844}
  357. m_NormalizedViewPortRect:
  358. serializedVersion: 2
  359. x: 0
  360. y: 0
  361. width: 1
  362. height: 1
  363. near clip plane: 0.3
  364. far clip plane: 1000
  365. field of view: 60
  366. orthographic: 0
  367. orthographic size: 100
  368. m_Depth: -1
  369. m_CullingMask:
  370. serializedVersion: 2
  371. m_Bits: 4294967295
  372. m_RenderingPath: -1
  373. m_TargetTexture: {fileID: 0}
  374. m_TargetDisplay: 0
  375. m_TargetEye: 3
  376. m_HDR: 0
  377. m_AllowMSAA: 1
  378. m_AllowDynamicResolution: 0
  379. m_ForceIntoRT: 0
  380. m_OcclusionCulling: 1
  381. m_StereoConvergence: 10
  382. m_StereoSeparation: 0.022
  383. --- !u!4 &1079079957
  384. Transform:
  385. m_ObjectHideFlags: 0
  386. m_PrefabParentObject: {fileID: 0}
  387. m_PrefabInternal: {fileID: 0}
  388. m_GameObject: {fileID: 1079079952}
  389. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  390. m_LocalPosition: {x: 0, y: 0, z: -50}
  391. m_LocalScale: {x: 1, y: 1, z: 1}
  392. m_Children: []
  393. m_Father: {fileID: 0}
  394. m_RootOrder: 0
  395. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}