UI_DressUpFightUI.cs 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.DressUp
  4. {
  5. public partial class UI_DressUpFightUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public GGraph m_touchPad;
  10. public GComboBox m_comboBox;
  11. public GButton m_btnBack;
  12. public GButton m_btnHome;
  13. public GLoader m_scoreType;
  14. public GTextField m_txtScore;
  15. public UI_Component1 m_compNeed;
  16. public UI_comListType m_comListType1;
  17. public UI_comListType m_comListType2;
  18. public UI_PartsList m_partsList;
  19. public GButton m_btnHint;
  20. public GGraph m_btnClose;
  21. public GTextField m_txtHint;
  22. public GGroup m_groupTaskHint;
  23. public GButton m_btnClothingShop;
  24. public GButton m_btnRepeal;
  25. public GButton m_btnRenewal;
  26. public GButton m_btnDelete;
  27. public GButton m_btnSearch;
  28. public GButton m_btnNext;
  29. public GButton m_btnRecommend;
  30. public GTextField m_txtRecommendCount;
  31. public GButton m_btnAutoPlay;
  32. public GGroup m_graContent;
  33. public const string URL = "ui://mbo439wbqsvd2m";
  34. public const string PACKAGE_NAME = "DressUp";
  35. public const string RES_NAME = "DressUpFightUI";
  36. private static UI_DressUpFightUI _proxy;
  37. public static UI_DressUpFightUI Create(GObject gObject = null)
  38. {
  39. var ui = new UI_DressUpFightUI();
  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_DressUpFightUI Proxy(GObject gObject = null)
  48. {
  49. if(_proxy == null)
  50. {
  51. _proxy = new UI_DressUpFightUI();
  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_touchPad = (GGraph)comp.GetChild("touchPad");
  77. m_comboBox = (GComboBox)comp.GetChild("comboBox");
  78. m_btnBack = (GButton)comp.GetChild("btnBack");
  79. m_btnHome = (GButton)comp.GetChild("btnHome");
  80. m_scoreType = (GLoader)comp.GetChild("scoreType");
  81. m_txtScore = (GTextField)comp.GetChild("txtScore");
  82. m_compNeed = (UI_Component1)UI_Component1.Create(comp.GetChild("compNeed"));
  83. m_comListType1 = (UI_comListType)UI_comListType.Create(comp.GetChild("comListType1"));
  84. m_comListType2 = (UI_comListType)UI_comListType.Create(comp.GetChild("comListType2"));
  85. m_partsList = (UI_PartsList)UI_PartsList.Create(comp.GetChild("partsList"));
  86. m_btnHint = (GButton)comp.GetChild("btnHint");
  87. m_btnClose = (GGraph)comp.GetChild("btnClose");
  88. m_txtHint = (GTextField)comp.GetChild("txtHint");
  89. m_groupTaskHint = (GGroup)comp.GetChild("groupTaskHint");
  90. m_btnClothingShop = (GButton)comp.GetChild("btnClothingShop");
  91. m_btnRepeal = (GButton)comp.GetChild("btnRepeal");
  92. m_btnRenewal = (GButton)comp.GetChild("btnRenewal");
  93. m_btnDelete = (GButton)comp.GetChild("btnDelete");
  94. m_btnSearch = (GButton)comp.GetChild("btnSearch");
  95. m_btnNext = (GButton)comp.GetChild("btnNext");
  96. m_btnRecommend = (GButton)comp.GetChild("btnRecommend");
  97. m_txtRecommendCount = (GTextField)comp.GetChild("txtRecommendCount");
  98. m_btnAutoPlay = (GButton)comp.GetChild("btnAutoPlay");
  99. m_graContent = (GGroup)comp.GetChild("graContent");
  100. }
  101. public void Dispose(bool disposeTarget = false)
  102. {
  103. m_c1 = null;
  104. m_touchPad = null;
  105. m_comboBox = null;
  106. m_btnBack = null;
  107. m_btnHome = null;
  108. m_scoreType = null;
  109. m_txtScore = null;
  110. m_compNeed.Dispose();
  111. m_compNeed = null;
  112. m_comListType1.Dispose();
  113. m_comListType1 = null;
  114. m_comListType2.Dispose();
  115. m_comListType2 = null;
  116. m_partsList.Dispose();
  117. m_partsList = null;
  118. m_btnHint = null;
  119. m_btnClose = null;
  120. m_txtHint = null;
  121. m_groupTaskHint = null;
  122. m_btnClothingShop = null;
  123. m_btnRepeal = null;
  124. m_btnRenewal = null;
  125. m_btnDelete = null;
  126. m_btnSearch = null;
  127. m_btnNext = null;
  128. m_btnRecommend = null;
  129. m_txtRecommendCount = null;
  130. m_btnAutoPlay = null;
  131. m_graContent = null;
  132. if(disposeTarget && target != null)
  133. {
  134. target.RemoveFromParent();
  135. target.Dispose();
  136. }
  137. target = null;
  138. }
  139. }
  140. }