SCTouchableUIButton.prefab 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. %YAML 1.1
  2. %TAG !u! tag:unity3d.com,2011:
  3. --- !u!1 &4060641532170211399
  4. GameObject:
  5. m_ObjectHideFlags: 0
  6. m_CorrespondingSourceObject: {fileID: 0}
  7. m_PrefabInstance: {fileID: 0}
  8. m_PrefabAsset: {fileID: 0}
  9. serializedVersion: 6
  10. m_Component:
  11. - component: {fileID: 2926179080962103233}
  12. - component: {fileID: 4000087530971112181}
  13. - component: {fileID: 8497795497426659416}
  14. - component: {fileID: 6951600180309854840}
  15. m_Layer: 5
  16. m_Name: Button
  17. m_TagString: Untagged
  18. m_Icon: {fileID: 0}
  19. m_NavMeshLayer: 0
  20. m_StaticEditorFlags: 0
  21. m_IsActive: 1
  22. --- !u!224 &2926179080962103233
  23. RectTransform:
  24. m_ObjectHideFlags: 0
  25. m_CorrespondingSourceObject: {fileID: 0}
  26. m_PrefabInstance: {fileID: 0}
  27. m_PrefabAsset: {fileID: 0}
  28. m_GameObject: {fileID: 4060641532170211399}
  29. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  30. m_LocalPosition: {x: 0, y: 0, z: 0}
  31. m_LocalScale: {x: 1, y: 1, z: 1}
  32. m_Children:
  33. - {fileID: 4064385450913234614}
  34. m_Father: {fileID: 9004514975395799246}
  35. m_RootOrder: 0
  36. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  37. m_AnchorMin: {x: 0.5, y: 0.5}
  38. m_AnchorMax: {x: 0.5, y: 0.5}
  39. m_AnchoredPosition: {x: 0, y: 0}
  40. m_SizeDelta: {x: 160, y: 30}
  41. m_Pivot: {x: 0.5, y: 0.5}
  42. --- !u!222 &4000087530971112181
  43. CanvasRenderer:
  44. m_ObjectHideFlags: 0
  45. m_CorrespondingSourceObject: {fileID: 0}
  46. m_PrefabInstance: {fileID: 0}
  47. m_PrefabAsset: {fileID: 0}
  48. m_GameObject: {fileID: 4060641532170211399}
  49. m_CullTransparentMesh: 0
  50. --- !u!114 &8497795497426659416
  51. MonoBehaviour:
  52. m_ObjectHideFlags: 0
  53. m_CorrespondingSourceObject: {fileID: 0}
  54. m_PrefabInstance: {fileID: 0}
  55. m_PrefabAsset: {fileID: 0}
  56. m_GameObject: {fileID: 4060641532170211399}
  57. m_Enabled: 1
  58. m_EditorHideFlags: 0
  59. m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
  60. m_Name:
  61. m_EditorClassIdentifier:
  62. m_Material: {fileID: 0}
  63. m_Color: {r: 1, g: 1, b: 1, a: 1}
  64. m_RaycastTarget: 1
  65. m_OnCullStateChanged:
  66. m_PersistentCalls:
  67. m_Calls: []
  68. m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
  69. Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
  70. m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
  71. m_Type: 1
  72. m_PreserveAspect: 0
  73. m_FillCenter: 1
  74. m_FillMethod: 4
  75. m_FillAmount: 1
  76. m_FillClockwise: 1
  77. m_FillOrigin: 0
  78. m_UseSpriteMesh: 0
  79. m_PixelsPerUnitMultiplier: 1
  80. --- !u!114 &6951600180309854840
  81. MonoBehaviour:
  82. m_ObjectHideFlags: 0
  83. m_CorrespondingSourceObject: {fileID: 0}
  84. m_PrefabInstance: {fileID: 0}
  85. m_PrefabAsset: {fileID: 0}
  86. m_GameObject: {fileID: 4060641532170211399}
  87. m_Enabled: 1
  88. m_EditorHideFlags: 0
  89. m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
  90. m_Name:
  91. m_EditorClassIdentifier:
  92. m_Navigation:
  93. m_Mode: 3
  94. m_SelectOnUp: {fileID: 0}
  95. m_SelectOnDown: {fileID: 0}
  96. m_SelectOnLeft: {fileID: 0}
  97. m_SelectOnRight: {fileID: 0}
  98. m_Transition: 1
  99. m_Colors:
  100. m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
  101. m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
  102. m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
  103. m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
  104. m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
  105. m_ColorMultiplier: 1
  106. m_FadeDuration: 0.1
  107. m_SpriteState:
  108. m_HighlightedSprite: {fileID: 0}
  109. m_PressedSprite: {fileID: 0}
  110. m_SelectedSprite: {fileID: 0}
  111. m_DisabledSprite: {fileID: 0}
  112. m_AnimationTriggers:
  113. m_NormalTrigger: Normal
  114. m_HighlightedTrigger: Highlighted
  115. m_PressedTrigger: Pressed
  116. m_SelectedTrigger: Selected
  117. m_DisabledTrigger: Disabled
  118. m_Interactable: 1
  119. m_TargetGraphic: {fileID: 8497795497426659416}
  120. m_OnClick:
  121. m_PersistentCalls:
  122. m_Calls: []
  123. m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
  124. Culture=neutral, PublicKeyToken=null
  125. --- !u!1 &7159831280810124742
  126. GameObject:
  127. m_ObjectHideFlags: 0
  128. m_CorrespondingSourceObject: {fileID: 0}
  129. m_PrefabInstance: {fileID: 0}
  130. m_PrefabAsset: {fileID: 0}
  131. serializedVersion: 6
  132. m_Component:
  133. - component: {fileID: 4064385450913234614}
  134. - component: {fileID: 1301303799961136059}
  135. - component: {fileID: 5883908777297609751}
  136. m_Layer: 5
  137. m_Name: Text (TMP)
  138. m_TagString: Untagged
  139. m_Icon: {fileID: 0}
  140. m_NavMeshLayer: 0
  141. m_StaticEditorFlags: 0
  142. m_IsActive: 1
  143. --- !u!224 &4064385450913234614
  144. RectTransform:
  145. m_ObjectHideFlags: 0
  146. m_CorrespondingSourceObject: {fileID: 0}
  147. m_PrefabInstance: {fileID: 0}
  148. m_PrefabAsset: {fileID: 0}
  149. m_GameObject: {fileID: 7159831280810124742}
  150. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  151. m_LocalPosition: {x: 0, y: 0, z: 0}
  152. m_LocalScale: {x: 1, y: 1, z: 1}
  153. m_Children: []
  154. m_Father: {fileID: 2926179080962103233}
  155. m_RootOrder: 0
  156. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  157. m_AnchorMin: {x: 0, y: 0}
  158. m_AnchorMax: {x: 1, y: 1}
  159. m_AnchoredPosition: {x: 0, y: 0}
  160. m_SizeDelta: {x: 0, y: 0}
  161. m_Pivot: {x: 0.5, y: 0.5}
  162. --- !u!222 &1301303799961136059
  163. CanvasRenderer:
  164. m_ObjectHideFlags: 0
  165. m_CorrespondingSourceObject: {fileID: 0}
  166. m_PrefabInstance: {fileID: 0}
  167. m_PrefabAsset: {fileID: 0}
  168. m_GameObject: {fileID: 7159831280810124742}
  169. m_CullTransparentMesh: 0
  170. --- !u!114 &5883908777297609751
  171. MonoBehaviour:
  172. m_ObjectHideFlags: 0
  173. m_CorrespondingSourceObject: {fileID: 0}
  174. m_PrefabInstance: {fileID: 0}
  175. m_PrefabAsset: {fileID: 0}
  176. m_GameObject: {fileID: 7159831280810124742}
  177. m_Enabled: 1
  178. m_EditorHideFlags: 0
  179. m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
  180. m_Name:
  181. m_EditorClassIdentifier:
  182. m_Material: {fileID: 0}
  183. m_Color: {r: 1, g: 1, b: 1, a: 1}
  184. m_RaycastTarget: 1
  185. m_OnCullStateChanged:
  186. m_PersistentCalls:
  187. m_Calls: []
  188. m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
  189. Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
  190. m_text: Button
  191. m_isRightToLeft: 0
  192. m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
  193. m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2}
  194. m_fontSharedMaterials: []
  195. m_fontMaterial: {fileID: 0}
  196. m_fontMaterials: []
  197. m_fontColor32:
  198. serializedVersion: 2
  199. rgba: 4281479730
  200. m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
  201. m_enableVertexGradient: 0
  202. m_colorMode: 3
  203. m_fontColorGradient:
  204. topLeft: {r: 1, g: 1, b: 1, a: 1}
  205. topRight: {r: 1, g: 1, b: 1, a: 1}
  206. bottomLeft: {r: 1, g: 1, b: 1, a: 1}
  207. bottomRight: {r: 1, g: 1, b: 1, a: 1}
  208. m_fontColorGradientPreset: {fileID: 0}
  209. m_spriteAsset: {fileID: 0}
  210. m_tintAllSprites: 0
  211. m_overrideHtmlColors: 0
  212. m_faceColor:
  213. serializedVersion: 2
  214. rgba: 4294967295
  215. m_outlineColor:
  216. serializedVersion: 2
  217. rgba: 4278190080
  218. m_fontSize: 24
  219. m_fontSizeBase: 24
  220. m_fontWeight: 400
  221. m_enableAutoSizing: 0
  222. m_fontSizeMin: 18
  223. m_fontSizeMax: 72
  224. m_fontStyle: 0
  225. m_textAlignment: 514
  226. m_characterSpacing: 0
  227. m_wordSpacing: 0
  228. m_lineSpacing: 0
  229. m_lineSpacingMax: 0
  230. m_paragraphSpacing: 0
  231. m_charWidthMaxAdj: 0
  232. m_enableWordWrapping: 1
  233. m_wordWrappingRatios: 0.4
  234. m_overflowMode: 0
  235. m_firstOverflowCharacterIndex: -1
  236. m_linkedTextComponent: {fileID: 0}
  237. m_isLinkedTextComponent: 0
  238. m_isTextTruncated: 0
  239. m_enableKerning: 1
  240. m_enableExtraPadding: 0
  241. checkPaddingRequired: 0
  242. m_isRichText: 1
  243. m_parseCtrlCharacters: 1
  244. m_isOrthographic: 1
  245. m_isCullingEnabled: 0
  246. m_ignoreRectMaskCulling: 0
  247. m_ignoreCulling: 1
  248. m_horizontalMapping: 0
  249. m_verticalMapping: 0
  250. m_uvLineOffset: 0
  251. m_geometrySortingOrder: 0
  252. m_VertexBufferAutoSizeReduction: 1
  253. m_firstVisibleCharacter: 0
  254. m_useMaxVisibleDescender: 1
  255. m_pageToDisplay: 1
  256. m_margin: {x: 0, y: 0, z: 0, w: 0}
  257. m_textInfo:
  258. textComponent: {fileID: 5883908777297609751}
  259. characterCount: 6
  260. spriteCount: 0
  261. spaceCount: 0
  262. wordCount: 1
  263. linkCount: 0
  264. lineCount: 1
  265. pageCount: 1
  266. materialCount: 1
  267. m_isUsingLegacyAnimationComponent: 0
  268. m_isVolumetricText: 0
  269. m_spriteAnimator: {fileID: 0}
  270. m_hasFontAssetChanged: 0
  271. m_subTextObjects:
  272. - {fileID: 0}
  273. - {fileID: 0}
  274. - {fileID: 0}
  275. - {fileID: 0}
  276. - {fileID: 0}
  277. - {fileID: 0}
  278. - {fileID: 0}
  279. - {fileID: 0}
  280. m_baseMaterial: {fileID: 0}
  281. m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
  282. --- !u!1 &9004514975395799241
  283. GameObject:
  284. m_ObjectHideFlags: 0
  285. m_CorrespondingSourceObject: {fileID: 0}
  286. m_PrefabInstance: {fileID: 0}
  287. m_PrefabAsset: {fileID: 0}
  288. serializedVersion: 6
  289. m_Component:
  290. - component: {fileID: 9004514975395799246}
  291. - component: {fileID: 9004514975395799250}
  292. - component: {fileID: 9004514975395799245}
  293. - component: {fileID: 9004514975395799244}
  294. - component: {fileID: 9004514975395799247}
  295. m_Layer: 5
  296. m_Name: SCTouchableUIButton
  297. m_TagString: Untagged
  298. m_Icon: {fileID: 0}
  299. m_NavMeshLayer: 0
  300. m_StaticEditorFlags: 0
  301. m_IsActive: 1
  302. --- !u!224 &9004514975395799246
  303. RectTransform:
  304. m_ObjectHideFlags: 0
  305. m_CorrespondingSourceObject: {fileID: 0}
  306. m_PrefabInstance: {fileID: 0}
  307. m_PrefabAsset: {fileID: 0}
  308. m_GameObject: {fileID: 9004514975395799241}
  309. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  310. m_LocalPosition: {x: 0, y: 0, z: 0}
  311. m_LocalScale: {x: 1, y: 1, z: 1}
  312. m_Children:
  313. - {fileID: 2926179080962103233}
  314. m_Father: {fileID: 0}
  315. m_RootOrder: 0
  316. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  317. m_AnchorMin: {x: 0.5, y: 0.5}
  318. m_AnchorMax: {x: 0.5, y: 0.5}
  319. m_AnchoredPosition: {x: 0, y: 0}
  320. m_SizeDelta: {x: 160, y: 30}
  321. m_Pivot: {x: 0.5, y: 0.5}
  322. --- !u!222 &9004514975395799250
  323. CanvasRenderer:
  324. m_ObjectHideFlags: 0
  325. m_CorrespondingSourceObject: {fileID: 0}
  326. m_PrefabInstance: {fileID: 0}
  327. m_PrefabAsset: {fileID: 0}
  328. m_GameObject: {fileID: 9004514975395799241}
  329. m_CullTransparentMesh: 0
  330. --- !u!114 &9004514975395799245
  331. MonoBehaviour:
  332. m_ObjectHideFlags: 0
  333. m_CorrespondingSourceObject: {fileID: 0}
  334. m_PrefabInstance: {fileID: 0}
  335. m_PrefabAsset: {fileID: 0}
  336. m_GameObject: {fileID: 9004514975395799241}
  337. m_Enabled: 1
  338. m_EditorHideFlags: 0
  339. m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
  340. m_Name:
  341. m_EditorClassIdentifier:
  342. m_Material: {fileID: 0}
  343. m_Color: {r: 1, g: 1, b: 1, a: 1}
  344. m_RaycastTarget: 1
  345. m_OnCullStateChanged:
  346. m_PersistentCalls:
  347. m_Calls: []
  348. m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI,
  349. Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
  350. m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
  351. m_Type: 1
  352. m_PreserveAspect: 0
  353. m_FillCenter: 1
  354. m_FillMethod: 4
  355. m_FillAmount: 1
  356. m_FillClockwise: 1
  357. m_FillOrigin: 0
  358. m_UseSpriteMesh: 0
  359. m_PixelsPerUnitMultiplier: 1
  360. --- !u!114 &9004514975395799244
  361. MonoBehaviour:
  362. m_ObjectHideFlags: 0
  363. m_CorrespondingSourceObject: {fileID: 0}
  364. m_PrefabInstance: {fileID: 0}
  365. m_PrefabAsset: {fileID: 0}
  366. m_GameObject: {fileID: 9004514975395799241}
  367. m_Enabled: 1
  368. m_EditorHideFlags: 0
  369. m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
  370. m_Name:
  371. m_EditorClassIdentifier:
  372. m_Navigation:
  373. m_Mode: 3
  374. m_SelectOnUp: {fileID: 0}
  375. m_SelectOnDown: {fileID: 0}
  376. m_SelectOnLeft: {fileID: 0}
  377. m_SelectOnRight: {fileID: 0}
  378. m_Transition: 1
  379. m_Colors:
  380. m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
  381. m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
  382. m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
  383. m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
  384. m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
  385. m_ColorMultiplier: 1
  386. m_FadeDuration: 0.1
  387. m_SpriteState:
  388. m_HighlightedSprite: {fileID: 0}
  389. m_PressedSprite: {fileID: 0}
  390. m_SelectedSprite: {fileID: 0}
  391. m_DisabledSprite: {fileID: 0}
  392. m_AnimationTriggers:
  393. m_NormalTrigger: Normal
  394. m_HighlightedTrigger: Highlighted
  395. m_PressedTrigger: Pressed
  396. m_SelectedTrigger: Selected
  397. m_DisabledTrigger: Disabled
  398. m_Interactable: 1
  399. m_TargetGraphic: {fileID: 9004514975395799245}
  400. m_OnClick:
  401. m_PersistentCalls:
  402. m_Calls: []
  403. m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
  404. Culture=neutral, PublicKeyToken=null
  405. --- !u!114 &9004514975395799247
  406. MonoBehaviour:
  407. m_ObjectHideFlags: 0
  408. m_CorrespondingSourceObject: {fileID: 0}
  409. m_PrefabInstance: {fileID: 0}
  410. m_PrefabAsset: {fileID: 0}
  411. m_GameObject: {fileID: 9004514975395799241}
  412. m_Enabled: 1
  413. m_EditorHideFlags: 0
  414. m_Script: {fileID: 11500000, guid: 1bd692d7393e9254d958929f5da94187, type: 3}
  415. m_Name:
  416. m_EditorClassIdentifier:
  417. eventsToReceive: 1
  418. NormalType: 5
  419. center: {fileID: 0}
  420. debounceThreshold: 0.01