UI_RoleInfoUI.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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 GLoader m_loaBg;
  9. public GTextField m_txtVersion;
  10. public GButton m_btnHelp;
  11. public GButton m_btnBack;
  12. public GTextField m_leagueName;
  13. public GComponent m_comHead;
  14. public GTextField m_txtExp;
  15. public GTextField m_txtLvl;
  16. public GTextField m_txtRoleName;
  17. public GLoader m_loaChangeName;
  18. public GTextInput m_txtSlogan;
  19. public GGroup m_grpHead;
  20. public UI_Button2 m_btnSuitGuide;
  21. public UI_Button2 m_btnCardGuide;
  22. public UI_Button2 m_btnTaskArchieveGuide;
  23. public GList m_badgeList;
  24. public GGroup m_center;
  25. public GList m_photoList;
  26. public GButton m_btnSkill;
  27. public GTextField m_txtRoleID;
  28. public GButton m_btnCopy;
  29. public GButton m_btnSetting;
  30. public const string URL = "ui://374k3dwvd4iw6k";
  31. public const string PACKAGE_NAME = "RoleInfo";
  32. public const string RES_NAME = "RoleInfoUI";
  33. private static UI_RoleInfoUI _proxy;
  34. public static UI_RoleInfoUI Create(GObject gObject = null)
  35. {
  36. var ui = new UI_RoleInfoUI();
  37. if(gObject == null)
  38. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  39. else
  40. ui.target = (GComponent)gObject;
  41. ui.Init(ui.target);
  42. return ui;
  43. }
  44. public static UI_RoleInfoUI Proxy(GObject gObject = null)
  45. {
  46. if(_proxy == null)
  47. {
  48. _proxy = new UI_RoleInfoUI();
  49. }
  50. var ui = _proxy;
  51. if(gObject == null)
  52. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  53. else
  54. ui.target = (GComponent)gObject;
  55. ui.Init(ui.target);
  56. return ui;
  57. }
  58. public static void ProxyEnd()
  59. {
  60. if (_proxy != null)
  61. {
  62. _proxy.Dispose();
  63. }
  64. }
  65. public static void ClearProxy()
  66. {
  67. ProxyEnd();
  68. _proxy = null;
  69. }
  70. private void Init(GComponent comp)
  71. {
  72. m_loaBg = (GLoader)comp.GetChild("loaBg");
  73. m_txtVersion = (GTextField)comp.GetChild("txtVersion");
  74. m_btnHelp = (GButton)comp.GetChild("btnHelp");
  75. m_btnBack = (GButton)comp.GetChild("btnBack");
  76. m_leagueName = (GTextField)comp.GetChild("leagueName");
  77. m_comHead = (GComponent)comp.GetChild("comHead");
  78. m_txtExp = (GTextField)comp.GetChild("txtExp");
  79. m_txtLvl = (GTextField)comp.GetChild("txtLvl");
  80. m_txtRoleName = (GTextField)comp.GetChild("txtRoleName");
  81. m_loaChangeName = (GLoader)comp.GetChild("loaChangeName");
  82. m_txtSlogan = (GTextInput)comp.GetChild("txtSlogan");
  83. m_grpHead = (GGroup)comp.GetChild("grpHead");
  84. m_btnSuitGuide = (UI_Button2)UI_Button2.Create(comp.GetChild("btnSuitGuide"));
  85. m_btnCardGuide = (UI_Button2)UI_Button2.Create(comp.GetChild("btnCardGuide"));
  86. m_btnTaskArchieveGuide = (UI_Button2)UI_Button2.Create(comp.GetChild("btnTaskArchieveGuide"));
  87. m_badgeList = (GList)comp.GetChild("badgeList");
  88. m_center = (GGroup)comp.GetChild("center");
  89. m_photoList = (GList)comp.GetChild("photoList");
  90. m_btnSkill = (GButton)comp.GetChild("btnSkill");
  91. m_txtRoleID = (GTextField)comp.GetChild("txtRoleID");
  92. m_btnCopy = (GButton)comp.GetChild("btnCopy");
  93. m_btnSetting = (GButton)comp.GetChild("btnSetting");
  94. }
  95. public void Dispose(bool disposeTarget = false)
  96. {
  97. m_loaBg = null;
  98. m_txtVersion = null;
  99. m_btnHelp = null;
  100. m_btnBack = null;
  101. m_leagueName = null;
  102. m_comHead = null;
  103. m_txtExp = null;
  104. m_txtLvl = null;
  105. m_txtRoleName = null;
  106. m_loaChangeName = null;
  107. m_txtSlogan = null;
  108. m_grpHead = null;
  109. m_btnSuitGuide.Dispose();
  110. m_btnSuitGuide = null;
  111. m_btnCardGuide.Dispose();
  112. m_btnCardGuide = null;
  113. m_btnTaskArchieveGuide.Dispose();
  114. m_btnTaskArchieveGuide = null;
  115. m_badgeList = null;
  116. m_center = null;
  117. m_photoList = null;
  118. m_btnSkill = null;
  119. m_txtRoleID = null;
  120. m_btnCopy = null;
  121. m_btnSetting = null;
  122. if(disposeTarget && target != null)
  123. {
  124. target.RemoveFromParent();
  125. target.Dispose();
  126. }
  127. target = null;
  128. }
  129. }
  130. }