UI_ArenaDressUpFightUI.cs 4.2 KB

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