LabelUtility.prefab 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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_ParentPrefab: {fileID: 0}
  12. m_RootGameObject: {fileID: 1594177319052792}
  13. m_IsPrefabParent: 1
  14. --- !u!1 &1594177319052792
  15. GameObject:
  16. m_ObjectHideFlags: 0
  17. m_PrefabParentObject: {fileID: 0}
  18. m_PrefabInternal: {fileID: 100100000}
  19. serializedVersion: 5
  20. m_Component:
  21. - component: {fileID: 4977813053446552}
  22. - component: {fileID: 114902767536926886}
  23. m_Layer: 0
  24. m_Name: LabelUtility
  25. m_TagString: Untagged
  26. m_Icon: {fileID: 0}
  27. m_NavMeshLayer: 0
  28. m_StaticEditorFlags: 0
  29. m_IsActive: 1
  30. --- !u!4 &4977813053446552
  31. Transform:
  32. m_ObjectHideFlags: 1
  33. m_PrefabParentObject: {fileID: 0}
  34. m_PrefabInternal: {fileID: 100100000}
  35. m_GameObject: {fileID: 1594177319052792}
  36. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  37. m_LocalPosition: {x: 0, y: 0, z: 0}
  38. m_LocalScale: {x: 1, y: 1, z: 1}
  39. m_Children: []
  40. m_Father: {fileID: 0}
  41. m_RootOrder: 0
  42. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  43. --- !u!114 &114902767536926886
  44. MonoBehaviour:
  45. m_ObjectHideFlags: 1
  46. m_PrefabParentObject: {fileID: 0}
  47. m_PrefabInternal: {fileID: 100100000}
  48. m_GameObject: {fileID: 1594177319052792}
  49. m_Enabled: 1
  50. m_EditorHideFlags: 0
  51. m_Script: {fileID: 11500000, guid: c191ef3fc5b89274696e54e8d5314e1a, type: 3}
  52. m_Name:
  53. m_EditorClassIdentifier:
  54. DllNames:
  55. - UnityEngine
  56. - UnityEngine.UI
  57. - System.Collections.Generic
  58. EventStrings:
  59. - ComponentType: 4
  60. RegistStrings:
  61. - '#NEWNAME.onClick.AddListener(On#NEWNAMEClick)'
  62. MethodNames:
  63. - On#NEWNAMEClick
  64. LabelSets:
  65. - Name: CanvasLabel
  66. UtilityType: 1
  67. LabelScriptPath:
  68. LabelScriptName:
  69. LabePrefix: public static string
  70. LabelScript: {fileID: 11500000, guid: 1615e3353e063d443bf237fb8aade024, type: 3}
  71. ComponentScriptPath:
  72. ComponentScriptName:
  73. DerivedString:
  74. RegistMethodString:
  75. ComponentPrefix:
  76. NameExcludeString:
  77. RegistString:
  78. RegistExtraLines: []
  79. ComponentScript: {fileID: 0}
  80. Languages: []
  81. Prefabs:
  82. - {fileID: 1948781497737682, guid: 8647d80b558fa724a84d05f9e6aee9bc, type: 2}
  83. FoldOut: 0
  84. TotalHeight: 18
  85. RegistTypes:
  86. RegistTargets:
  87. - Name: Title
  88. Force: 0
  89. Ignore: 0
  90. Transform: {fileID: 224977832684939848, guid: c32731d4b49fbd146ae54a3978501d8c,
  91. type: 2}
  92. Type: 1
  93. - Name: Content
  94. Force: 0
  95. Ignore: 0
  96. Transform: {fileID: 224190239401635906, guid: c32731d4b49fbd146ae54a3978501d8c,
  97. type: 2}
  98. Type: 1
  99. - Name: Button
  100. Force: 0
  101. Ignore: 0
  102. Transform: {fileID: 224039332265720712, guid: c32731d4b49fbd146ae54a3978501d8c,
  103. type: 2}
  104. Type: 4
  105. - Name: NewButton
  106. Force: 0
  107. Ignore: 0
  108. Transform: {fileID: 224004470014524054, guid: c32731d4b49fbd146ae54a3978501d8c,
  109. type: 2}
  110. Type: 4
  111. - Name: Panel
  112. Force: 1
  113. Ignore: 0
  114. Transform: {fileID: 224597384089362468, guid: c32731d4b49fbd146ae54a3978501d8c,
  115. type: 2}
  116. Type: 6
  117. - Name: LanguageLabel
  118. UtilityType: 0
  119. LabelScriptPath:
  120. LabelScriptName:
  121. LabePrefix: public static string
  122. LabelScript: {fileID: 11500000, guid: 3420c8d0e7f483a46942a0adcfbee477, type: 3}
  123. ComponentScriptPath:
  124. ComponentScriptName:
  125. DerivedString:
  126. RegistMethodString:
  127. ComponentPrefix:
  128. NameExcludeString:
  129. RegistString:
  130. RegistExtraLines: []
  131. ComponentScript: {fileID: 0}
  132. Languages:
  133. - {fileID: 4900000, guid: 6bf784d003b5c104e94531afb827212a, type: 3}
  134. Prefabs: []
  135. FoldOut: 0
  136. TotalHeight: 18
  137. RegistTypes:
  138. RegistTargets:
  139. - Name: Title
  140. Force: 0
  141. Ignore: 0
  142. Transform: {fileID: 224977832684939848, guid: c32731d4b49fbd146ae54a3978501d8c,
  143. type: 2}
  144. Type: 1
  145. - Name: Content
  146. Force: 0
  147. Ignore: 0
  148. Transform: {fileID: 224190239401635906, guid: c32731d4b49fbd146ae54a3978501d8c,
  149. type: 2}
  150. Type: 1
  151. - Name: Button
  152. Force: 0
  153. Ignore: 0
  154. Transform: {fileID: 224039332265720712, guid: c32731d4b49fbd146ae54a3978501d8c,
  155. type: 2}
  156. Type: 4
  157. - Name: NewButton
  158. Force: 0
  159. Ignore: 0
  160. Transform: {fileID: 224004470014524054, guid: c32731d4b49fbd146ae54a3978501d8c,
  161. type: 2}
  162. Type: 4
  163. - Name: Panel
  164. Force: 1
  165. Ignore: 0
  166. Transform: {fileID: 224597384089362468, guid: c32731d4b49fbd146ae54a3978501d8c,
  167. type: 2}
  168. Type: 6
  169. - Name: "\u6D4B\u8BD5"
  170. UtilityType: 2
  171. LabelScriptPath: Assets
  172. LabelScriptName: TestLabel
  173. LabePrefix: public static string
  174. LabelScript: {fileID: 11500000, guid: f7fb805300eb1a943a9198efb382841e, type: 3}
  175. ComponentScriptPath: Assets
  176. ComponentScriptName: TestScript
  177. DerivedString: MonoBehaviour
  178. RegistMethodString: private void Regist()
  179. ComponentPrefix: private
  180. NameExcludeString:
  181. RegistString: '#NAME = childDictionary[#LABEL.#NAME].GetComponent<#TYPE>();'
  182. RegistExtraLines:
  183. - Dictionary<string, Transform> childDictionary = new Dictionary<string, Transform>();
  184. - Auxiliary.CompileDic(transform, childDictionary);
  185. ComponentScript: {fileID: 11500000, guid: 12e87b20af07e454dbd88462d0bdcd72, type: 3}
  186. Languages:
  187. - {fileID: 4900000, guid: 6bf784d003b5c104e94531afb827212a, type: 3}
  188. Prefabs:
  189. - {fileID: 1338839275615992, guid: c32731d4b49fbd146ae54a3978501d8c, type: 2}
  190. FoldOut: 1
  191. TotalHeight: 918
  192. RegistTypes: 0100000004000000
  193. RegistTargets:
  194. - Name: Title
  195. Force: 0
  196. Ignore: 0
  197. Transform: {fileID: 224977832684939848, guid: c32731d4b49fbd146ae54a3978501d8c,
  198. type: 2}
  199. Type: 1
  200. - Name: Content
  201. Force: 0
  202. Ignore: 0
  203. Transform: {fileID: 224190239401635906, guid: c32731d4b49fbd146ae54a3978501d8c,
  204. type: 2}
  205. Type: 1
  206. - Name: Button
  207. Force: 0
  208. Ignore: 0
  209. Transform: {fileID: 224039332265720712, guid: c32731d4b49fbd146ae54a3978501d8c,
  210. type: 2}
  211. Type: 4
  212. - Name: NewButton
  213. Force: 0
  214. Ignore: 0
  215. Transform: {fileID: 224004470014524054, guid: c32731d4b49fbd146ae54a3978501d8c,
  216. type: 2}
  217. Type: 4
  218. - Name: Panel
  219. Force: 1
  220. Ignore: 0
  221. Transform: {fileID: 224597384089362468, guid: c32731d4b49fbd146ae54a3978501d8c,
  222. type: 2}
  223. Type: 6