LabelUtility.prefab 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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. Strings:
  61. - On#NEWNAMEClick
  62. LabelSets:
  63. - Name: CanvasLabel
  64. UtilityType: 1
  65. LabelScriptPath:
  66. LabelScriptName:
  67. LabePrefix: public static string
  68. LabelScript: {fileID: 11500000, guid: 1615e3353e063d443bf237fb8aade024, type: 3}
  69. ComponentScriptPath:
  70. ComponentScriptName:
  71. DerivedString:
  72. RegistMethodString:
  73. ComponentPrefix:
  74. NameExcludeString:
  75. RegistString:
  76. RegistExtraLines: []
  77. ComponentScript: {fileID: 0}
  78. Languages: []
  79. Prefabs:
  80. - {fileID: 1948781497737682, guid: 8647d80b558fa724a84d05f9e6aee9bc, type: 2}
  81. FoldOut: 0
  82. TotalHeight: 18
  83. RegistTypes:
  84. RegistTargets:
  85. - Name: Title
  86. Force: 0
  87. Ignore: 0
  88. Transform: {fileID: 224977832684939848, guid: c32731d4b49fbd146ae54a3978501d8c,
  89. type: 2}
  90. Type: 1
  91. - Name: Content
  92. Force: 0
  93. Ignore: 0
  94. Transform: {fileID: 224190239401635906, guid: c32731d4b49fbd146ae54a3978501d8c,
  95. type: 2}
  96. Type: 1
  97. - Name: Button
  98. Force: 0
  99. Ignore: 0
  100. Transform: {fileID: 224527758619848776, guid: c32731d4b49fbd146ae54a3978501d8c,
  101. type: 2}
  102. Type: 4
  103. - Name: Button
  104. Force: 1
  105. Ignore: 0
  106. Transform: {fileID: 224597384089362468, guid: c32731d4b49fbd146ae54a3978501d8c,
  107. type: 2}
  108. Type: 4
  109. - Name: LanguageLabel
  110. UtilityType: 0
  111. LabelScriptPath:
  112. LabelScriptName:
  113. LabePrefix: public static string
  114. LabelScript: {fileID: 11500000, guid: 3420c8d0e7f483a46942a0adcfbee477, type: 3}
  115. ComponentScriptPath:
  116. ComponentScriptName:
  117. DerivedString:
  118. RegistMethodString:
  119. ComponentPrefix:
  120. NameExcludeString:
  121. RegistString:
  122. RegistExtraLines: []
  123. ComponentScript: {fileID: 0}
  124. Languages:
  125. - {fileID: 4900000, guid: 6bf784d003b5c104e94531afb827212a, type: 3}
  126. Prefabs: []
  127. FoldOut: 0
  128. TotalHeight: 18
  129. RegistTypes:
  130. RegistTargets:
  131. - Name: Title
  132. Force: 0
  133. Ignore: 0
  134. Transform: {fileID: 224977832684939848, guid: c32731d4b49fbd146ae54a3978501d8c,
  135. type: 2}
  136. Type: 1
  137. - Name: Content
  138. Force: 0
  139. Ignore: 0
  140. Transform: {fileID: 224190239401635906, guid: c32731d4b49fbd146ae54a3978501d8c,
  141. type: 2}
  142. Type: 1
  143. - Name: Button
  144. Force: 0
  145. Ignore: 0
  146. Transform: {fileID: 224527758619848776, guid: c32731d4b49fbd146ae54a3978501d8c,
  147. type: 2}
  148. Type: 4
  149. - Name: Button
  150. Force: 1
  151. Ignore: 0
  152. Transform: {fileID: 224597384089362468, guid: c32731d4b49fbd146ae54a3978501d8c,
  153. type: 2}
  154. Type: 4
  155. - Name: "\u6D4B\u8BD5"
  156. UtilityType: 2
  157. LabelScriptPath: Assets
  158. LabelScriptName: TestLabel
  159. LabePrefix: public static string
  160. LabelScript: {fileID: 11500000, guid: f7fb805300eb1a943a9198efb382841e, type: 3}
  161. ComponentScriptPath: Assets
  162. ComponentScriptName: TestScript
  163. DerivedString: MonoBehaviour
  164. RegistMethodString: private void Regist()
  165. ComponentPrefix: private
  166. NameExcludeString:
  167. RegistString: '#NAME = childDictionary[#LABEL.#NAME].GetComponent<#TYPE>();'
  168. RegistExtraLines:
  169. - Dictionary<string, Transform> childDictionary = new Dictionary<string, Transform>();
  170. - Auxiliary.CompileDic(transform, childDictionary);
  171. ComponentScript: {fileID: 11500000, guid: 12e87b20af07e454dbd88462d0bdcd72, type: 3}
  172. Languages:
  173. - {fileID: 4900000, guid: 6bf784d003b5c104e94531afb827212a, type: 3}
  174. Prefabs:
  175. - {fileID: 1338839275615992, guid: c32731d4b49fbd146ae54a3978501d8c, type: 2}
  176. FoldOut: 1
  177. TotalHeight: 918
  178. RegistTypes: 0100000004000000
  179. RegistTargets:
  180. - Name: Title
  181. Force: 0
  182. Ignore: 0
  183. Transform: {fileID: 224977832684939848, guid: c32731d4b49fbd146ae54a3978501d8c,
  184. type: 2}
  185. Type: 1
  186. - Name: Content
  187. Force: 0
  188. Ignore: 0
  189. Transform: {fileID: 224190239401635906, guid: c32731d4b49fbd146ae54a3978501d8c,
  190. type: 2}
  191. Type: 1
  192. - Name: Button
  193. Force: 0
  194. Ignore: 0
  195. Transform: {fileID: 224527758619848776, guid: c32731d4b49fbd146ae54a3978501d8c,
  196. type: 2}
  197. Type: 4
  198. - Name: Button
  199. Force: 1
  200. Ignore: 0
  201. Transform: {fileID: 224597384089362468, guid: c32731d4b49fbd146ae54a3978501d8c,
  202. type: 2}
  203. Type: 4