UI_ComBtn.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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_btnSetLv;
  13. public GTextInput m_txtRoleLv;
  14. public GButton m_btnSetChapter;
  15. public GTextInput m_txtChapter;
  16. public GTextInput m_txtChapterLv;
  17. public GButton m_btnArenaGrade;
  18. public GTextInput m_txtArenaGrade;
  19. public GTextInput m_txtArenaRank;
  20. public GButton m_btnLeagueSkill;
  21. public GTextInput m_txtskillType;
  22. public GButton m_btnAnswerStart;
  23. public GButton m_btnAnswerEnd;
  24. public GButton m_btnAnswerActiveEnd;
  25. public const string URL = "ui://374k3dwvlqp0dm";
  26. public const string PACKAGE_NAME = "RoleInfo";
  27. public const string RES_NAME = "ComBtn";
  28. private static UI_ComBtn _proxy;
  29. public static UI_ComBtn Create(GObject gObject = null)
  30. {
  31. var ui = new UI_ComBtn();
  32. if(gObject == null)
  33. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  34. else
  35. ui.target = (GComponent)gObject;
  36. ui.Init(ui.target);
  37. return ui;
  38. }
  39. public static UI_ComBtn Proxy(GObject gObject = null)
  40. {
  41. if(_proxy == null)
  42. {
  43. _proxy = new UI_ComBtn();
  44. }
  45. var ui = _proxy;
  46. if(gObject == null)
  47. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  48. else
  49. ui.target = (GComponent)gObject;
  50. ui.Init(ui.target);
  51. return ui;
  52. }
  53. public static void ProxyEnd()
  54. {
  55. if (_proxy != null)
  56. {
  57. _proxy.Dispose();
  58. }
  59. }
  60. public static void ClearProxy()
  61. {
  62. ProxyEnd();
  63. _proxy = null;
  64. }
  65. private void Init(GComponent comp)
  66. {
  67. m_c1 = comp.GetController("c1");
  68. m_btnAll = (GButton)comp.GetChild("btnAll");
  69. m_btnGetAllDressUpItem = (GButton)comp.GetChild("btnGetAllDressUpItem");
  70. m_btnGetAllCardItem = (GButton)comp.GetChild("btnGetAllCardItem");
  71. m_btnSetLv = (GButton)comp.GetChild("btnSetLv");
  72. m_txtRoleLv = (GTextInput)comp.GetChild("txtRoleLv");
  73. m_btnSetChapter = (GButton)comp.GetChild("btnSetChapter");
  74. m_txtChapter = (GTextInput)comp.GetChild("txtChapter");
  75. m_txtChapterLv = (GTextInput)comp.GetChild("txtChapterLv");
  76. m_btnArenaGrade = (GButton)comp.GetChild("btnArenaGrade");
  77. m_txtArenaGrade = (GTextInput)comp.GetChild("txtArenaGrade");
  78. m_txtArenaRank = (GTextInput)comp.GetChild("txtArenaRank");
  79. m_btnLeagueSkill = (GButton)comp.GetChild("btnLeagueSkill");
  80. m_txtskillType = (GTextInput)comp.GetChild("txtskillType");
  81. m_btnAnswerStart = (GButton)comp.GetChild("btnAnswerStart");
  82. m_btnAnswerEnd = (GButton)comp.GetChild("btnAnswerEnd");
  83. m_btnAnswerActiveEnd = (GButton)comp.GetChild("btnAnswerActiveEnd");
  84. }
  85. public void Dispose(bool disposeTarget = false)
  86. {
  87. m_c1 = null;
  88. m_btnAll = null;
  89. m_btnGetAllDressUpItem = null;
  90. m_btnGetAllCardItem = null;
  91. m_btnSetLv = null;
  92. m_txtRoleLv = null;
  93. m_btnSetChapter = null;
  94. m_txtChapter = null;
  95. m_txtChapterLv = null;
  96. m_btnArenaGrade = null;
  97. m_txtArenaGrade = null;
  98. m_txtArenaRank = null;
  99. m_btnLeagueSkill = null;
  100. m_txtskillType = null;
  101. m_btnAnswerStart = null;
  102. m_btnAnswerEnd = null;
  103. m_btnAnswerActiveEnd = null;
  104. if(disposeTarget && target != null)
  105. {
  106. target.RemoveFromParent();
  107. target.Dispose();
  108. }
  109. target = null;
  110. }
  111. }
  112. }