UI_ArenaDressUpFightUI.cs 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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_ArenaDressUpFightUI
  6. {
  7. public GComponent target;
  8. public GLoader m_loaBg;
  9. public GGraph m_touchPad;
  10. public GButton m_btnBack;
  11. public GTextField m_txtDressLimit;
  12. public UI_ComValueInfo m_comValueInfo;
  13. public UI_comListType m_comListType1;
  14. public UI_comListType m_comListType2;
  15. public UI_PartsList m_partsList;
  16. public UI_PartsList m_partsList2;
  17. public GButton m_btnDelete;
  18. public GButton m_btnSearch;
  19. public GButton m_btnNext;
  20. public GGroup m_graContent;
  21. public const string URL = "ui://mbo439wbpsphez";
  22. public const string PACKAGE_NAME = "DressUp";
  23. public const string RES_NAME = "ArenaDressUpFightUI";
  24. private static UI_ArenaDressUpFightUI _proxy;
  25. public static UI_ArenaDressUpFightUI Create(GObject gObject = null)
  26. {
  27. var ui = new UI_ArenaDressUpFightUI();
  28. if(gObject == null)
  29. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  30. else
  31. ui.target = (GComponent)gObject;
  32. ui.Init(ui.target);
  33. return ui;
  34. }
  35. public static UI_ArenaDressUpFightUI Proxy(GObject gObject = null)
  36. {
  37. if(_proxy == null)
  38. {
  39. _proxy = new UI_ArenaDressUpFightUI();
  40. }
  41. var ui = _proxy;
  42. if(gObject == null)
  43. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  44. else
  45. ui.target = (GComponent)gObject;
  46. ui.Init(ui.target);
  47. return ui;
  48. }
  49. public static void ProxyEnd()
  50. {
  51. if (_proxy != null)
  52. {
  53. _proxy.Dispose();
  54. }
  55. }
  56. public static void ClearProxy()
  57. {
  58. ProxyEnd();
  59. _proxy = null;
  60. }
  61. private void Init(GComponent comp)
  62. {
  63. m_loaBg = (GLoader)comp.GetChild("loaBg");
  64. m_touchPad = (GGraph)comp.GetChild("touchPad");
  65. m_btnBack = (GButton)comp.GetChild("btnBack");
  66. m_txtDressLimit = (GTextField)comp.GetChild("txtDressLimit");
  67. m_comValueInfo = (UI_ComValueInfo)UI_ComValueInfo.Create(comp.GetChild("comValueInfo"));
  68. m_comListType1 = (UI_comListType)UI_comListType.Create(comp.GetChild("comListType1"));
  69. m_comListType2 = (UI_comListType)UI_comListType.Create(comp.GetChild("comListType2"));
  70. m_partsList = (UI_PartsList)UI_PartsList.Create(comp.GetChild("partsList"));
  71. m_partsList2 = (UI_PartsList)UI_PartsList.Create(comp.GetChild("partsList2"));
  72. m_btnDelete = (GButton)comp.GetChild("btnDelete");
  73. m_btnSearch = (GButton)comp.GetChild("btnSearch");
  74. m_btnNext = (GButton)comp.GetChild("btnNext");
  75. m_graContent = (GGroup)comp.GetChild("graContent");
  76. }
  77. public void Dispose(bool disposeTarget = false)
  78. {
  79. m_loaBg = null;
  80. m_touchPad = null;
  81. m_btnBack = null;
  82. m_txtDressLimit = null;
  83. m_comValueInfo.Dispose();
  84. m_comValueInfo = null;
  85. m_comListType1.Dispose();
  86. m_comListType1 = null;
  87. m_comListType2.Dispose();
  88. m_comListType2 = null;
  89. m_partsList.Dispose();
  90. m_partsList = null;
  91. m_partsList2.Dispose();
  92. m_partsList2 = null;
  93. m_btnDelete = null;
  94. m_btnSearch = null;
  95. m_btnNext = null;
  96. m_graContent = null;
  97. if(disposeTarget && target != null)
  98. {
  99. target.RemoveFromParent();
  100. target.Dispose();
  101. }
  102. target = null;
  103. }
  104. }
  105. }