UI_ClothingDecomposeUI.cs 4.2 KB

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