UI_ArenaDressUpFightUI.cs 4.8 KB

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