UIButton.prefab 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. %YAML 1.1
  2. %TAG !u! tag:unity3d.com,2011:
  3. --- !u!1 &1085494047662942
  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: 224789324903704696}
  12. - component: {fileID: 222043149731492524}
  13. - component: {fileID: 114045964516215780}
  14. m_Layer: 5
  15. m_Name: Text
  16. m_TagString: Untagged
  17. m_Icon: {fileID: 0}
  18. m_NavMeshLayer: 0
  19. m_StaticEditorFlags: 0
  20. m_IsActive: 1
  21. --- !u!224 &224789324903704696
  22. RectTransform:
  23. m_ObjectHideFlags: 0
  24. m_CorrespondingSourceObject: {fileID: 0}
  25. m_PrefabInstance: {fileID: 0}
  26. m_PrefabAsset: {fileID: 0}
  27. m_GameObject: {fileID: 1085494047662942}
  28. m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
  29. m_LocalPosition: {x: 0, y: 0, z: 0}
  30. m_LocalScale: {x: 1, y: 1, z: 1}
  31. m_Children: []
  32. m_Father: {fileID: 2190743468814886548}
  33. m_RootOrder: 0
  34. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  35. m_AnchorMin: {x: 0, y: 0}
  36. m_AnchorMax: {x: 1, y: 1}
  37. m_AnchoredPosition: {x: 0, y: 0}
  38. m_SizeDelta: {x: 0, y: 0}
  39. m_Pivot: {x: 0.5, y: 0.5}
  40. --- !u!222 &222043149731492524
  41. CanvasRenderer:
  42. m_ObjectHideFlags: 0
  43. m_CorrespondingSourceObject: {fileID: 0}
  44. m_PrefabInstance: {fileID: 0}
  45. m_PrefabAsset: {fileID: 0}
  46. m_GameObject: {fileID: 1085494047662942}
  47. m_CullTransparentMesh: 0
  48. --- !u!114 &114045964516215780
  49. MonoBehaviour:
  50. m_ObjectHideFlags: 0
  51. m_CorrespondingSourceObject: {fileID: 0}
  52. m_PrefabInstance: {fileID: 0}
  53. m_PrefabAsset: {fileID: 0}
  54. m_GameObject: {fileID: 1085494047662942}
  55. m_Enabled: 1
  56. m_EditorHideFlags: 0
  57. m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
  58. m_Name:
  59. m_EditorClassIdentifier:
  60. m_Material: {fileID: 0}
  61. m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
  62. m_RaycastTarget: 1
  63. m_Maskable: 1
  64. m_OnCullStateChanged:
  65. m_PersistentCalls:
  66. m_Calls: []
  67. m_FontData:
  68. m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
  69. m_FontSize: 20
  70. m_FontStyle: 0
  71. m_BestFit: 0
  72. m_MinSize: 2
  73. m_MaxSize: 40
  74. m_Alignment: 4
  75. m_AlignByGeometry: 0
  76. m_RichText: 1
  77. m_HorizontalOverflow: 0
  78. m_VerticalOverflow: 0
  79. m_LineSpacing: 1
  80. m_Text: Button
  81. --- !u!1 &1988031064181878
  82. GameObject:
  83. m_ObjectHideFlags: 0
  84. m_CorrespondingSourceObject: {fileID: 0}
  85. m_PrefabInstance: {fileID: 0}
  86. m_PrefabAsset: {fileID: 0}
  87. serializedVersion: 6
  88. m_Component:
  89. - component: {fileID: 224755204872005774}
  90. - component: {fileID: 8043514295364578751}
  91. - component: {fileID: 3429672885213600281}
  92. m_Layer: 5
  93. m_Name: UIButton
  94. m_TagString: Untagged
  95. m_Icon: {fileID: 0}
  96. m_NavMeshLayer: 0
  97. m_StaticEditorFlags: 0
  98. m_IsActive: 1
  99. --- !u!224 &224755204872005774
  100. RectTransform:
  101. m_ObjectHideFlags: 0
  102. m_CorrespondingSourceObject: {fileID: 0}
  103. m_PrefabInstance: {fileID: 0}
  104. m_PrefabAsset: {fileID: 0}
  105. m_GameObject: {fileID: 1988031064181878}
  106. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  107. m_LocalPosition: {x: 0, y: 0, z: 0}
  108. m_LocalScale: {x: 0.002, y: 0.002, z: 0.002}
  109. m_Children:
  110. - {fileID: 2190743468814886548}
  111. m_Father: {fileID: 0}
  112. m_RootOrder: 0
  113. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  114. m_AnchorMin: {x: 0, y: 0}
  115. m_AnchorMax: {x: 0, y: 0}
  116. m_AnchoredPosition: {x: 0, y: 0}
  117. m_SizeDelta: {x: 160, y: 50}
  118. m_Pivot: {x: 0.5, y: 0.5}
  119. --- !u!223 &8043514295364578751
  120. Canvas:
  121. m_ObjectHideFlags: 0
  122. m_CorrespondingSourceObject: {fileID: 0}
  123. m_PrefabInstance: {fileID: 0}
  124. m_PrefabAsset: {fileID: 0}
  125. m_GameObject: {fileID: 1988031064181878}
  126. m_Enabled: 1
  127. serializedVersion: 3
  128. m_RenderMode: 2
  129. m_Camera: {fileID: 0}
  130. m_PlaneDistance: 100
  131. m_PixelPerfect: 0
  132. m_ReceivesEvents: 1
  133. m_OverrideSorting: 0
  134. m_OverridePixelPerfect: 0
  135. m_SortingBucketNormalizedSize: 0
  136. m_AdditionalShaderChannelsFlag: 0
  137. m_SortingLayerID: 0
  138. m_SortingOrder: 0
  139. m_TargetDisplay: 0
  140. --- !u!114 &3429672885213600281
  141. MonoBehaviour:
  142. m_ObjectHideFlags: 0
  143. m_CorrespondingSourceObject: {fileID: 0}
  144. m_PrefabInstance: {fileID: 0}
  145. m_PrefabAsset: {fileID: 0}
  146. m_GameObject: {fileID: 1988031064181878}
  147. m_Enabled: 1
  148. m_EditorHideFlags: 0
  149. m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
  150. m_Name:
  151. m_EditorClassIdentifier:
  152. m_UiScaleMode: 0
  153. m_ReferencePixelsPerUnit: 100
  154. m_ScaleFactor: 1
  155. m_ReferenceResolution: {x: 800, y: 600}
  156. m_ScreenMatchMode: 0
  157. m_MatchWidthOrHeight: 0
  158. m_PhysicalUnit: 3
  159. m_FallbackScreenDPI: 96
  160. m_DefaultSpriteDPI: 96
  161. m_DynamicPixelsPerUnit: 1
  162. --- !u!1 &1140121784608068712
  163. GameObject:
  164. m_ObjectHideFlags: 0
  165. m_CorrespondingSourceObject: {fileID: 0}
  166. m_PrefabInstance: {fileID: 0}
  167. m_PrefabAsset: {fileID: 0}
  168. serializedVersion: 6
  169. m_Component:
  170. - component: {fileID: 2190743468814886548}
  171. - component: {fileID: 8596064356437789865}
  172. - component: {fileID: 6427293405447097272}
  173. - component: {fileID: 2869844792079959733}
  174. - component: {fileID: 7763624948984976965}
  175. - component: {fileID: 1614997630}
  176. m_Layer: 5
  177. m_Name: Button
  178. m_TagString: Untagged
  179. m_Icon: {fileID: 0}
  180. m_NavMeshLayer: 0
  181. m_StaticEditorFlags: 0
  182. m_IsActive: 1
  183. --- !u!224 &2190743468814886548
  184. RectTransform:
  185. m_ObjectHideFlags: 0
  186. m_CorrespondingSourceObject: {fileID: 0}
  187. m_PrefabInstance: {fileID: 0}
  188. m_PrefabAsset: {fileID: 0}
  189. m_GameObject: {fileID: 1140121784608068712}
  190. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  191. m_LocalPosition: {x: 0, y: 0, z: 0}
  192. m_LocalScale: {x: 1, y: 1, z: 1}
  193. m_Children:
  194. - {fileID: 224789324903704696}
  195. m_Father: {fileID: 224755204872005774}
  196. m_RootOrder: 0
  197. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  198. m_AnchorMin: {x: 0.5, y: 0.5}
  199. m_AnchorMax: {x: 0.5, y: 0.5}
  200. m_AnchoredPosition: {x: 0, y: 0}
  201. m_SizeDelta: {x: 160, y: 50}
  202. m_Pivot: {x: 0.5, y: 0.5}
  203. --- !u!222 &8596064356437789865
  204. CanvasRenderer:
  205. m_ObjectHideFlags: 0
  206. m_CorrespondingSourceObject: {fileID: 0}
  207. m_PrefabInstance: {fileID: 0}
  208. m_PrefabAsset: {fileID: 0}
  209. m_GameObject: {fileID: 1140121784608068712}
  210. m_CullTransparentMesh: 0
  211. --- !u!114 &6427293405447097272
  212. MonoBehaviour:
  213. m_ObjectHideFlags: 0
  214. m_CorrespondingSourceObject: {fileID: 0}
  215. m_PrefabInstance: {fileID: 0}
  216. m_PrefabAsset: {fileID: 0}
  217. m_GameObject: {fileID: 1140121784608068712}
  218. m_Enabled: 1
  219. m_EditorHideFlags: 0
  220. m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
  221. m_Name:
  222. m_EditorClassIdentifier:
  223. m_Material: {fileID: 0}
  224. m_Color: {r: 1, g: 1, b: 1, a: 1}
  225. m_RaycastTarget: 1
  226. m_Maskable: 1
  227. m_OnCullStateChanged:
  228. m_PersistentCalls:
  229. m_Calls: []
  230. m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
  231. m_Type: 1
  232. m_PreserveAspect: 0
  233. m_FillCenter: 1
  234. m_FillMethod: 4
  235. m_FillAmount: 1
  236. m_FillClockwise: 1
  237. m_FillOrigin: 0
  238. m_UseSpriteMesh: 0
  239. m_PixelsPerUnitMultiplier: 1
  240. --- !u!65 &2869844792079959733
  241. BoxCollider:
  242. m_ObjectHideFlags: 0
  243. m_CorrespondingSourceObject: {fileID: 0}
  244. m_PrefabInstance: {fileID: 0}
  245. m_PrefabAsset: {fileID: 0}
  246. m_GameObject: {fileID: 1140121784608068712}
  247. m_Material: {fileID: 0}
  248. m_IsTrigger: 0
  249. m_Enabled: 1
  250. serializedVersion: 2
  251. m_Size: {x: 158.20393, y: 47.684307, z: 0.46918026}
  252. m_Center: {x: -0.47253814, y: 0.35047716, z: 0.26540852}
  253. --- !u!114 &7763624948984976965
  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: 1140121784608068712}
  260. m_Enabled: 1
  261. m_EditorHideFlags: 0
  262. m_Script: {fileID: 11500000, guid: ea16582a37f52b440bab0f8562a9c7aa, type: 3}
  263. m_Name:
  264. m_EditorClassIdentifier:
  265. m_Navigation:
  266. m_Mode: 3
  267. m_SelectOnUp: {fileID: 0}
  268. m_SelectOnDown: {fileID: 0}
  269. m_SelectOnLeft: {fileID: 0}
  270. m_SelectOnRight: {fileID: 0}
  271. m_Transition: 1
  272. m_Colors:
  273. m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
  274. m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
  275. m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
  276. m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
  277. m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
  278. m_ColorMultiplier: 1
  279. m_FadeDuration: 0.1
  280. m_SpriteState:
  281. m_HighlightedSprite: {fileID: 0}
  282. m_PressedSprite: {fileID: 0}
  283. m_SelectedSprite: {fileID: 0}
  284. m_DisabledSprite: {fileID: 0}
  285. m_AnimationTriggers:
  286. m_NormalTrigger: Normal
  287. m_HighlightedTrigger: Highlighted
  288. m_PressedTrigger: Pressed
  289. m_SelectedTrigger: Selected
  290. m_DisabledTrigger: Disabled
  291. m_Interactable: 1
  292. m_TargetGraphic: {fileID: 6427293405447097272}
  293. m_OnClick:
  294. m_PersistentCalls:
  295. m_Calls: []
  296. --- !u!82 &1614997630
  297. AudioSource:
  298. m_ObjectHideFlags: 0
  299. m_CorrespondingSourceObject: {fileID: 0}
  300. m_PrefabInstance: {fileID: 0}
  301. m_PrefabAsset: {fileID: 0}
  302. m_GameObject: {fileID: 1140121784608068712}
  303. m_Enabled: 1
  304. serializedVersion: 4
  305. OutputAudioMixerGroup: {fileID: 0}
  306. m_audioClip: {fileID: 0}
  307. m_PlayOnAwake: 0
  308. m_Volume: 1
  309. m_Pitch: 1
  310. Loop: 0
  311. Mute: 0
  312. Spatialize: 0
  313. SpatializePostEffects: 0
  314. Priority: 128
  315. DopplerLevel: 1
  316. MinDistance: 1
  317. MaxDistance: 500
  318. Pan2D: 0
  319. rolloffMode: 0
  320. BypassEffects: 0
  321. BypassListenerEffects: 0
  322. BypassReverbZones: 0
  323. rolloffCustomCurve:
  324. serializedVersion: 2
  325. m_Curve:
  326. - serializedVersion: 3
  327. time: 0
  328. value: 1
  329. inSlope: 0
  330. outSlope: 0
  331. tangentMode: 0
  332. weightedMode: 0
  333. inWeight: 0.33333334
  334. outWeight: 0.33333334
  335. - serializedVersion: 3
  336. time: 1
  337. value: 0
  338. inSlope: 0
  339. outSlope: 0
  340. tangentMode: 0
  341. weightedMode: 0
  342. inWeight: 0.33333334
  343. outWeight: 0.33333334
  344. m_PreInfinity: 2
  345. m_PostInfinity: 2
  346. m_RotationOrder: 4
  347. panLevelCustomCurve:
  348. serializedVersion: 2
  349. m_Curve:
  350. - serializedVersion: 3
  351. time: 0
  352. value: 0
  353. inSlope: 0
  354. outSlope: 0
  355. tangentMode: 0
  356. weightedMode: 0
  357. inWeight: 0.33333334
  358. outWeight: 0.33333334
  359. m_PreInfinity: 2
  360. m_PostInfinity: 2
  361. m_RotationOrder: 4
  362. spreadCustomCurve:
  363. serializedVersion: 2
  364. m_Curve:
  365. - serializedVersion: 3
  366. time: 0
  367. value: 0
  368. inSlope: 0
  369. outSlope: 0
  370. tangentMode: 0
  371. weightedMode: 0
  372. inWeight: 0.33333334
  373. outWeight: 0.33333334
  374. m_PreInfinity: 2
  375. m_PostInfinity: 2
  376. m_RotationOrder: 4
  377. reverbZoneMixCustomCurve:
  378. serializedVersion: 2
  379. m_Curve:
  380. - serializedVersion: 3
  381. time: 0
  382. value: 1
  383. inSlope: 0
  384. outSlope: 0
  385. tangentMode: 0
  386. weightedMode: 0
  387. inWeight: 0.33333334
  388. outWeight: 0.33333334
  389. m_PreInfinity: 2
  390. m_PostInfinity: 2
  391. m_RotationOrder: 4