Button.prefab 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. %YAML 1.1
  2. %TAG !u! tag:unity3d.com,2011:
  3. --- !u!1001 &100100000
  4. Prefab:
  5. m_ObjectHideFlags: 1
  6. serializedVersion: 2
  7. m_Modification:
  8. m_TransformParent: {fileID: 0}
  9. m_Modifications: []
  10. m_RemovedComponents: []
  11. m_SourcePrefab: {fileID: 0}
  12. m_RootGameObject: {fileID: 1728513650105062}
  13. m_IsPrefabAsset: 1
  14. --- !u!1 &1728513650105062
  15. GameObject:
  16. m_ObjectHideFlags: 0
  17. m_CorrespondingSourceObject: {fileID: 0}
  18. m_PrefabInternal: {fileID: 100100000}
  19. serializedVersion: 6
  20. m_Component:
  21. - component: {fileID: 224771122883764374}
  22. - component: {fileID: 222401134047137570}
  23. - component: {fileID: 114826362001716654}
  24. - component: {fileID: 114204224268582166}
  25. - component: {fileID: 114344768413473294}
  26. m_Layer: 5
  27. m_Name: Button
  28. m_TagString: Untagged
  29. m_Icon: {fileID: 0}
  30. m_NavMeshLayer: 0
  31. m_StaticEditorFlags: 0
  32. m_IsActive: 1
  33. --- !u!1 &1977925927173892
  34. GameObject:
  35. m_ObjectHideFlags: 0
  36. m_CorrespondingSourceObject: {fileID: 0}
  37. m_PrefabInternal: {fileID: 100100000}
  38. serializedVersion: 6
  39. m_Component:
  40. - component: {fileID: 224750732080817856}
  41. - component: {fileID: 222878083001498966}
  42. - component: {fileID: 114547973042304788}
  43. m_Layer: 5
  44. m_Name: Text
  45. m_TagString: Untagged
  46. m_Icon: {fileID: 0}
  47. m_NavMeshLayer: 0
  48. m_StaticEditorFlags: 0
  49. m_IsActive: 1
  50. --- !u!114 &114204224268582166
  51. MonoBehaviour:
  52. m_ObjectHideFlags: 1
  53. m_CorrespondingSourceObject: {fileID: 0}
  54. m_PrefabInternal: {fileID: 100100000}
  55. m_GameObject: {fileID: 1728513650105062}
  56. m_Enabled: 1
  57. m_EditorHideFlags: 0
  58. m_Script: {fileID: 1392445389, guid: f70555f144d8491a825f0804e09c671c, type: 3}
  59. m_Name:
  60. m_EditorClassIdentifier:
  61. m_Navigation:
  62. m_Mode: 3
  63. m_SelectOnUp: {fileID: 0}
  64. m_SelectOnDown: {fileID: 0}
  65. m_SelectOnLeft: {fileID: 0}
  66. m_SelectOnRight: {fileID: 0}
  67. m_Transition: 1
  68. m_Colors:
  69. m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
  70. m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
  71. m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
  72. m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
  73. m_ColorMultiplier: 1
  74. m_FadeDuration: 0.1
  75. m_SpriteState:
  76. m_HighlightedSprite: {fileID: 0}
  77. m_PressedSprite: {fileID: 0}
  78. m_DisabledSprite: {fileID: 0}
  79. m_AnimationTriggers:
  80. m_NormalTrigger: Normal
  81. m_HighlightedTrigger: Highlighted
  82. m_PressedTrigger: Pressed
  83. m_DisabledTrigger: Disabled
  84. m_Interactable: 1
  85. m_TargetGraphic: {fileID: 114826362001716654}
  86. m_OnClick:
  87. m_PersistentCalls:
  88. m_Calls:
  89. - m_Target: {fileID: 0}
  90. m_MethodName:
  91. m_Mode: 1
  92. m_Arguments:
  93. m_ObjectArgument: {fileID: 0}
  94. m_ObjectArgumentAssemblyTypeName:
  95. m_IntArgument: 0
  96. m_FloatArgument: 0
  97. m_StringArgument:
  98. m_BoolArgument: 0
  99. m_CallState: 2
  100. m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
  101. --- !u!114 &114344768413473294
  102. MonoBehaviour:
  103. m_ObjectHideFlags: 1
  104. m_CorrespondingSourceObject: {fileID: 0}
  105. m_PrefabInternal: {fileID: 100100000}
  106. m_GameObject: {fileID: 1728513650105062}
  107. m_Enabled: 1
  108. m_EditorHideFlags: 0
  109. m_Script: {fileID: 11500000, guid: 6d54531977ecb194c95e2d3aa7a5d72a, type: 3}
  110. m_Name:
  111. m_EditorClassIdentifier:
  112. m_ControlPath: /<Keyboard>/a
  113. m_UsePressure: 0
  114. --- !u!114 &114547973042304788
  115. MonoBehaviour:
  116. m_ObjectHideFlags: 1
  117. m_CorrespondingSourceObject: {fileID: 0}
  118. m_PrefabInternal: {fileID: 100100000}
  119. m_GameObject: {fileID: 1977925927173892}
  120. m_Enabled: 1
  121. m_EditorHideFlags: 0
  122. m_Script: {fileID: 708705254, guid: f70555f144d8491a825f0804e09c671c, type: 3}
  123. m_Name:
  124. m_EditorClassIdentifier:
  125. m_Material: {fileID: 0}
  126. m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
  127. m_RaycastTarget: 1
  128. m_OnCullStateChanged:
  129. m_PersistentCalls:
  130. m_Calls: []
  131. m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
  132. m_FontData:
  133. m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
  134. m_FontSize: 14
  135. m_FontStyle: 0
  136. m_BestFit: 0
  137. m_MinSize: 10
  138. m_MaxSize: 40
  139. m_Alignment: 4
  140. m_AlignByGeometry: 0
  141. m_RichText: 1
  142. m_HorizontalOverflow: 0
  143. m_VerticalOverflow: 0
  144. m_LineSpacing: 1
  145. m_Text: Keyboard 'A' Key
  146. --- !u!114 &114826362001716654
  147. MonoBehaviour:
  148. m_ObjectHideFlags: 1
  149. m_CorrespondingSourceObject: {fileID: 0}
  150. m_PrefabInternal: {fileID: 100100000}
  151. m_GameObject: {fileID: 1728513650105062}
  152. m_Enabled: 1
  153. m_EditorHideFlags: 0
  154. m_Script: {fileID: -765806418, guid: f70555f144d8491a825f0804e09c671c, type: 3}
  155. m_Name:
  156. m_EditorClassIdentifier:
  157. m_Material: {fileID: 0}
  158. m_Color: {r: 1, g: 1, b: 1, a: 1}
  159. m_RaycastTarget: 1
  160. m_OnCullStateChanged:
  161. m_PersistentCalls:
  162. m_Calls: []
  163. m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
  164. m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
  165. m_Type: 1
  166. m_PreserveAspect: 0
  167. m_FillCenter: 1
  168. m_FillMethod: 4
  169. m_FillAmount: 1
  170. m_FillClockwise: 1
  171. m_FillOrigin: 0
  172. --- !u!222 &222401134047137570
  173. CanvasRenderer:
  174. m_ObjectHideFlags: 1
  175. m_CorrespondingSourceObject: {fileID: 0}
  176. m_PrefabInternal: {fileID: 100100000}
  177. m_GameObject: {fileID: 1728513650105062}
  178. m_CullTransparentMesh: 0
  179. --- !u!222 &222878083001498966
  180. CanvasRenderer:
  181. m_ObjectHideFlags: 1
  182. m_CorrespondingSourceObject: {fileID: 0}
  183. m_PrefabInternal: {fileID: 100100000}
  184. m_GameObject: {fileID: 1977925927173892}
  185. m_CullTransparentMesh: 0
  186. --- !u!224 &224750732080817856
  187. RectTransform:
  188. m_ObjectHideFlags: 1
  189. m_CorrespondingSourceObject: {fileID: 0}
  190. m_PrefabInternal: {fileID: 100100000}
  191. m_GameObject: {fileID: 1977925927173892}
  192. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  193. m_LocalPosition: {x: 0, y: 0, z: 0}
  194. m_LocalScale: {x: 1, y: 1, z: 1}
  195. m_Children: []
  196. m_Father: {fileID: 224771122883764374}
  197. m_RootOrder: 0
  198. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  199. m_AnchorMin: {x: 0, y: 0}
  200. m_AnchorMax: {x: 1, y: 1}
  201. m_AnchoredPosition: {x: 0, y: 0}
  202. m_SizeDelta: {x: 0, y: 0}
  203. m_Pivot: {x: 0.5, y: 0.5}
  204. --- !u!224 &224771122883764374
  205. RectTransform:
  206. m_ObjectHideFlags: 1
  207. m_CorrespondingSourceObject: {fileID: 0}
  208. m_PrefabInternal: {fileID: 100100000}
  209. m_GameObject: {fileID: 1728513650105062}
  210. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  211. m_LocalPosition: {x: 0, y: 0, z: 0}
  212. m_LocalScale: {x: 1, y: 1, z: 1}
  213. m_Children:
  214. - {fileID: 224750732080817856}
  215. m_Father: {fileID: 0}
  216. m_RootOrder: 0
  217. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  218. m_AnchorMin: {x: 0.5, y: 0.5}
  219. m_AnchorMax: {x: 0.5, y: 0.5}
  220. m_AnchoredPosition: {x: 0, y: 0}
  221. m_SizeDelta: {x: 100, y: 100}
  222. m_Pivot: {x: 0.5, y: 0.5}