UI_ComBtn.cs 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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_ComBtn
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public GButton m_btnAll;
  10. public GButton m_btnGetAllDressUpItem;
  11. public GButton m_btnGetAllCardItem;
  12. public GButton m_btnCardMaterials;
  13. public GButton m_btnSetLv;
  14. public GTextInput m_txtRoleLv;
  15. public GButton m_btnSetChapter;
  16. public GTextInput m_txtChapter;
  17. public GTextInput m_txtChapterLv;
  18. public GButton m_btnAnswerStart;
  19. public GButton m_btnAnswerEnd;
  20. public GButton m_btnAnswerActiveEnd;
  21. public GButton m_btnArenaGrade;
  22. public GTextInput m_txtArenaGrade;
  23. public GTextInput m_txtArenaRank;
  24. public GButton m_btnLeagueSkill;
  25. public GTextInput m_txtskillType;
  26. public GButton m_btnMaxFightSpeed;
  27. public GButton m_btnAddLeagueNum;
  28. public GTextInput m_AddLeagueNumType;
  29. public GTextInput m_AddNum;
  30. public GButton m_btnSetLeaguNum;
  31. public GTextInput m_SetLeagueNumType;
  32. public GTextInput m_SetNum;
  33. public const string URL = "ui://374k3dwvlqp0dm";
  34. public const string PACKAGE_NAME = "RoleInfo";
  35. public const string RES_NAME = "ComBtn";
  36. private static UI_ComBtn _proxy;
  37. public static UI_ComBtn Create(GObject gObject = null)
  38. {
  39. var ui = new UI_ComBtn();
  40. if(gObject == null)
  41. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  42. else
  43. ui.target = (GComponent)gObject;
  44. ui.Init(ui.target);
  45. return ui;
  46. }
  47. public static UI_ComBtn Proxy(GObject gObject = null)
  48. {
  49. if(_proxy == null)
  50. {
  51. _proxy = new UI_ComBtn();
  52. }
  53. var ui = _proxy;
  54. if(gObject == null)
  55. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  56. else
  57. ui.target = (GComponent)gObject;
  58. ui.Init(ui.target);
  59. return ui;
  60. }
  61. public static void ProxyEnd()
  62. {
  63. if (_proxy != null)
  64. {
  65. _proxy.Dispose();
  66. }
  67. }
  68. public static void ClearProxy()
  69. {
  70. ProxyEnd();
  71. _proxy = null;
  72. }
  73. private void Init(GComponent comp)
  74. {
  75. m_c1 = comp.GetController("c1");
  76. m_btnAll = (GButton)comp.GetChild("btnAll");
  77. m_btnGetAllDressUpItem = (GButton)comp.GetChild("btnGetAllDressUpItem");
  78. m_btnGetAllCardItem = (GButton)comp.GetChild("btnGetAllCardItem");
  79. m_btnCardMaterials = (GButton)comp.GetChild("btnCardMaterials");
  80. m_btnSetLv = (GButton)comp.GetChild("btnSetLv");
  81. m_txtRoleLv = (GTextInput)comp.GetChild("txtRoleLv");
  82. m_btnSetChapter = (GButton)comp.GetChild("btnSetChapter");
  83. m_txtChapter = (GTextInput)comp.GetChild("txtChapter");
  84. m_txtChapterLv = (GTextInput)comp.GetChild("txtChapterLv");
  85. m_btnAnswerStart = (GButton)comp.GetChild("btnAnswerStart");
  86. m_btnAnswerEnd = (GButton)comp.GetChild("btnAnswerEnd");
  87. m_btnAnswerActiveEnd = (GButton)comp.GetChild("btnAnswerActiveEnd");
  88. m_btnArenaGrade = (GButton)comp.GetChild("btnArenaGrade");
  89. m_txtArenaGrade = (GTextInput)comp.GetChild("txtArenaGrade");
  90. m_txtArenaRank = (GTextInput)comp.GetChild("txtArenaRank");
  91. m_btnLeagueSkill = (GButton)comp.GetChild("btnLeagueSkill");
  92. m_txtskillType = (GTextInput)comp.GetChild("txtskillType");
  93. m_btnMaxFightSpeed = (GButton)comp.GetChild("btnMaxFightSpeed");
  94. m_btnAddLeagueNum = (GButton)comp.GetChild("btnAddLeagueNum");
  95. m_AddLeagueNumType = (GTextInput)comp.GetChild("AddLeagueNumType");
  96. m_AddNum = (GTextInput)comp.GetChild("AddNum");
  97. m_btnSetLeaguNum = (GButton)comp.GetChild("btnSetLeaguNum");
  98. m_SetLeagueNumType = (GTextInput)comp.GetChild("SetLeagueNumType");
  99. m_SetNum = (GTextInput)comp.GetChild("SetNum");
  100. }
  101. public void Dispose(bool disposeTarget = false)
  102. {
  103. m_c1 = null;
  104. m_btnAll = null;
  105. m_btnGetAllDressUpItem = null;
  106. m_btnGetAllCardItem = null;
  107. m_btnCardMaterials = null;
  108. m_btnSetLv = null;
  109. m_txtRoleLv = null;
  110. m_btnSetChapter = null;
  111. m_txtChapter = null;
  112. m_txtChapterLv = null;
  113. m_btnAnswerStart = null;
  114. m_btnAnswerEnd = null;
  115. m_btnAnswerActiveEnd = null;
  116. m_btnArenaGrade = null;
  117. m_txtArenaGrade = null;
  118. m_txtArenaRank = null;
  119. m_btnLeagueSkill = null;
  120. m_txtskillType = null;
  121. m_btnMaxFightSpeed = null;
  122. m_btnAddLeagueNum = null;
  123. m_AddLeagueNumType = null;
  124. m_AddNum = null;
  125. m_btnSetLeaguNum = null;
  126. m_SetLeagueNumType = null;
  127. m_SetNum = null;
  128. if(disposeTarget && target != null)
  129. {
  130. target.RemoveFromParent();
  131. target.Dispose();
  132. }
  133. target = null;
  134. }
  135. }
  136. }