UI_RoleInfoUI.cs 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.RoleInfo
  4. {
  5. public partial class UI_RoleInfoUI
  6. {
  7. public GComponent target;
  8. public Controller m_type;
  9. public GLoader m_loaBg;
  10. public GLoader m_Top_img;
  11. public GTextField m_txtVersion;
  12. public GButton m_btnHelp;
  13. public GButton m_btnBack;
  14. public GTextField m_leagueName;
  15. public GComponent m_comHead;
  16. public GTextField m_txtExp;
  17. public GTextField m_txtLvl;
  18. public GTextField m_txtRoleName;
  19. public GLoader m_loaChangeName;
  20. public GTextInput m_txtSlogan;
  21. public GTextField m_txtSloganLabel;
  22. public GGroup m_grpHead;
  23. public UI_ButtonCollectProgress m_btnSuitGuide;
  24. public UI_ButtonCollectProgress m_btnCardGuide;
  25. public UI_ButtonCollectProgress m_btnTaskArchieveGuide;
  26. public GList m_badgeList;
  27. public GGroup m_center;
  28. public GList m_photoList;
  29. public GButton m_btnSkill;
  30. public GTextField m_txtRoleID;
  31. public GButton m_btnCopy;
  32. public GButton m_btnSetting;
  33. public Transition m_Hide;
  34. public Transition m_Show;
  35. public const string URL = "ui://374k3dwvd4iw6k";
  36. public const string PACKAGE_NAME = "RoleInfo";
  37. public const string RES_NAME = "RoleInfoUI";
  38. private static UI_RoleInfoUI _proxy;
  39. public static UI_RoleInfoUI Create(GObject gObject = null)
  40. {
  41. var ui = new UI_RoleInfoUI();
  42. if(gObject == null)
  43. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  44. else
  45. ui.target = (GComponent)gObject;
  46. ui.Init(ui.target);
  47. return ui;
  48. }
  49. public static UI_RoleInfoUI Proxy(GObject gObject = null)
  50. {
  51. if(_proxy == null)
  52. {
  53. _proxy = new UI_RoleInfoUI();
  54. }
  55. var ui = _proxy;
  56. if(gObject == null)
  57. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  58. else
  59. ui.target = (GComponent)gObject;
  60. ui.Init(ui.target);
  61. return ui;
  62. }
  63. public static void ProxyEnd()
  64. {
  65. if (_proxy != null)
  66. {
  67. _proxy.Dispose();
  68. }
  69. }
  70. public static void ClearProxy()
  71. {
  72. ProxyEnd();
  73. _proxy = null;
  74. }
  75. private void Init(GComponent comp)
  76. {
  77. m_type = comp.GetController("type");
  78. m_loaBg = (GLoader)comp.GetChild("loaBg");
  79. m_Top_img = (GLoader)comp.GetChild("Top_img");
  80. m_txtVersion = (GTextField)comp.GetChild("txtVersion");
  81. m_btnHelp = (GButton)comp.GetChild("btnHelp");
  82. m_btnBack = (GButton)comp.GetChild("btnBack");
  83. m_leagueName = (GTextField)comp.GetChild("leagueName");
  84. m_comHead = (GComponent)comp.GetChild("comHead");
  85. m_txtExp = (GTextField)comp.GetChild("txtExp");
  86. m_txtLvl = (GTextField)comp.GetChild("txtLvl");
  87. m_txtRoleName = (GTextField)comp.GetChild("txtRoleName");
  88. m_loaChangeName = (GLoader)comp.GetChild("loaChangeName");
  89. m_txtSlogan = (GTextInput)comp.GetChild("txtSlogan");
  90. m_txtSloganLabel = (GTextField)comp.GetChild("txtSloganLabel");
  91. m_grpHead = (GGroup)comp.GetChild("grpHead");
  92. m_btnSuitGuide = (UI_ButtonCollectProgress)UI_ButtonCollectProgress.Create(comp.GetChild("btnSuitGuide"));
  93. m_btnCardGuide = (UI_ButtonCollectProgress)UI_ButtonCollectProgress.Create(comp.GetChild("btnCardGuide"));
  94. m_btnTaskArchieveGuide = (UI_ButtonCollectProgress)UI_ButtonCollectProgress.Create(comp.GetChild("btnTaskArchieveGuide"));
  95. m_badgeList = (GList)comp.GetChild("badgeList");
  96. m_center = (GGroup)comp.GetChild("center");
  97. m_photoList = (GList)comp.GetChild("photoList");
  98. m_btnSkill = (GButton)comp.GetChild("btnSkill");
  99. m_txtRoleID = (GTextField)comp.GetChild("txtRoleID");
  100. m_btnCopy = (GButton)comp.GetChild("btnCopy");
  101. m_btnSetting = (GButton)comp.GetChild("btnSetting");
  102. m_Hide = comp.GetTransition("Hide");
  103. m_Show = comp.GetTransition("Show");
  104. }
  105. public void Dispose(bool disposeTarget = false)
  106. {
  107. m_type = null;
  108. m_loaBg = null;
  109. m_Top_img = null;
  110. m_txtVersion = null;
  111. m_btnHelp = null;
  112. m_btnBack = null;
  113. m_leagueName = null;
  114. m_comHead = null;
  115. m_txtExp = null;
  116. m_txtLvl = null;
  117. m_txtRoleName = null;
  118. m_loaChangeName = null;
  119. m_txtSlogan = null;
  120. m_txtSloganLabel = null;
  121. m_grpHead = null;
  122. m_btnSuitGuide.Dispose();
  123. m_btnSuitGuide = null;
  124. m_btnCardGuide.Dispose();
  125. m_btnCardGuide = null;
  126. m_btnTaskArchieveGuide.Dispose();
  127. m_btnTaskArchieveGuide = null;
  128. m_badgeList = null;
  129. m_center = null;
  130. m_photoList = null;
  131. m_btnSkill = null;
  132. m_txtRoleID = null;
  133. m_btnCopy = null;
  134. m_btnSetting = null;
  135. m_Hide = null;
  136. m_Show = null;
  137. if(disposeTarget && target != null)
  138. {
  139. target.RemoveFromParent();
  140. target.Dispose();
  141. }
  142. target = null;
  143. }
  144. }
  145. }