UI_ClothingDecomposeUI.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.ClothingDecompose
  4. {
  5. public partial class UI_ClothingDecomposeUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public Controller m_TouchSelect;
  10. public Controller m_clothesType;
  11. public GLoader m_bg;
  12. public GLoader m_Top_img;
  13. public UI_Button6 m_btnClothing;
  14. public UI_Button6 m_btnSkillBook;
  15. public GComponent m_valueBar;
  16. public GButton m_btnBack;
  17. public GButton m_btnRule;
  18. public GList m_listTab;
  19. public GList m_list;
  20. public GTextField m_txtNone;
  21. public GTextField m_txtShow;
  22. public GList m_listReward;
  23. public GButton m_btnDecompose;
  24. public GTextField m_txtConsume;
  25. public GTextField m_txtTips;
  26. public GButton m_btnSelect;
  27. public GTextField m_txtGetRewardTips;
  28. public const string URL = "ui://h9mv1l71wlc20";
  29. public const string PACKAGE_NAME = "ClothingDecompose";
  30. public const string RES_NAME = "ClothingDecomposeUI";
  31. private static UI_ClothingDecomposeUI _proxy;
  32. public static UI_ClothingDecomposeUI Create(GObject gObject = null)
  33. {
  34. var ui = new UI_ClothingDecomposeUI();
  35. if(gObject == null)
  36. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  37. else
  38. ui.target = (GComponent)gObject;
  39. ui.Init(ui.target);
  40. return ui;
  41. }
  42. public static UI_ClothingDecomposeUI Proxy(GObject gObject = null)
  43. {
  44. if(_proxy == null)
  45. {
  46. _proxy = new UI_ClothingDecomposeUI();
  47. }
  48. var ui = _proxy;
  49. if(gObject == null)
  50. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  51. else
  52. ui.target = (GComponent)gObject;
  53. ui.Init(ui.target);
  54. return ui;
  55. }
  56. public static void ProxyEnd()
  57. {
  58. if (_proxy != null)
  59. {
  60. _proxy.Dispose();
  61. }
  62. }
  63. public static void ClearProxy()
  64. {
  65. ProxyEnd();
  66. _proxy = null;
  67. }
  68. private void Init(GComponent comp)
  69. {
  70. m_c1 = comp.GetController("c1");
  71. m_TouchSelect = comp.GetController("TouchSelect");
  72. m_clothesType = comp.GetController("clothesType");
  73. m_bg = (GLoader)comp.GetChild("bg");
  74. m_Top_img = (GLoader)comp.GetChild("Top_img");
  75. m_btnClothing = (UI_Button6)UI_Button6.Create(comp.GetChild("btnClothing"));
  76. m_btnSkillBook = (UI_Button6)UI_Button6.Create(comp.GetChild("btnSkillBook"));
  77. m_valueBar = (GComponent)comp.GetChild("valueBar");
  78. m_btnBack = (GButton)comp.GetChild("btnBack");
  79. m_btnRule = (GButton)comp.GetChild("btnRule");
  80. m_listTab = (GList)comp.GetChild("listTab");
  81. m_list = (GList)comp.GetChild("list");
  82. m_txtNone = (GTextField)comp.GetChild("txtNone");
  83. m_txtShow = (GTextField)comp.GetChild("txtShow");
  84. m_listReward = (GList)comp.GetChild("listReward");
  85. m_btnDecompose = (GButton)comp.GetChild("btnDecompose");
  86. m_txtConsume = (GTextField)comp.GetChild("txtConsume");
  87. m_txtTips = (GTextField)comp.GetChild("txtTips");
  88. m_btnSelect = (GButton)comp.GetChild("btnSelect");
  89. m_txtGetRewardTips = (GTextField)comp.GetChild("txtGetRewardTips");
  90. }
  91. public void Dispose(bool disposeTarget = false)
  92. {
  93. m_c1 = null;
  94. m_TouchSelect = null;
  95. m_clothesType = null;
  96. m_bg = null;
  97. m_Top_img = null;
  98. m_btnClothing.Dispose();
  99. m_btnClothing = null;
  100. m_btnSkillBook.Dispose();
  101. m_btnSkillBook = null;
  102. m_valueBar = null;
  103. m_btnBack = null;
  104. m_btnRule = null;
  105. m_listTab = null;
  106. m_list = null;
  107. m_txtNone = null;
  108. m_txtShow = null;
  109. m_listReward = null;
  110. m_btnDecompose = null;
  111. m_txtConsume = null;
  112. m_txtTips = null;
  113. m_btnSelect = null;
  114. m_txtGetRewardTips = null;
  115. if(disposeTarget && target != null)
  116. {
  117. target.RemoveFromParent();
  118. target.Dispose();
  119. }
  120. target = null;
  121. }
  122. }
  123. }