UI_ArenaDressInfoUI.cs 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.Arena
  4. {
  5. public partial class UI_ArenaDressInfoUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public Controller m_c2;
  10. public Controller m_c3;
  11. public Controller m_c4;
  12. public GLoader m_loaBg;
  13. public GButton m_btnBack;
  14. public GGraph m_grhCloseComFightScore;
  15. public UI_ComValueInfo m_comValueInfo;
  16. public UI_ComFIeldValueInfo m_comFieldValueInfo;
  17. public GComponent m_comListBg;
  18. public GList m_list;
  19. public UI_ComCard m_comCard;
  20. public UI_BtnTab3 m_btn0;
  21. public UI_BtnTab3 m_btn1;
  22. public UI_BtnTab3 m_btn2;
  23. public GButton m_btnDress;
  24. public GButton m_btnRecommend;
  25. public GButton m_btnConfire;
  26. public const string URL = "ui://4lc5fhlbpsph1";
  27. public const string PACKAGE_NAME = "Arena";
  28. public const string RES_NAME = "ArenaDressInfoUI";
  29. private static UI_ArenaDressInfoUI _proxy;
  30. public static UI_ArenaDressInfoUI Create(GObject gObject = null)
  31. {
  32. var ui = new UI_ArenaDressInfoUI();
  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_ArenaDressInfoUI Proxy(GObject gObject = null)
  41. {
  42. if(_proxy == null)
  43. {
  44. _proxy = new UI_ArenaDressInfoUI();
  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_c2 = comp.GetController("c2");
  70. m_c3 = comp.GetController("c3");
  71. m_c4 = comp.GetController("c4");
  72. m_loaBg = (GLoader)comp.GetChild("loaBg");
  73. m_btnBack = (GButton)comp.GetChild("btnBack");
  74. m_grhCloseComFightScore = (GGraph)comp.GetChild("grhCloseComFightScore");
  75. m_comValueInfo = (UI_ComValueInfo)UI_ComValueInfo.Create(comp.GetChild("comValueInfo"));
  76. m_comFieldValueInfo = (UI_ComFIeldValueInfo)UI_ComFIeldValueInfo.Create(comp.GetChild("comFieldValueInfo"));
  77. m_comListBg = (GComponent)comp.GetChild("comListBg");
  78. m_list = (GList)comp.GetChild("list");
  79. m_comCard = (UI_ComCard)UI_ComCard.Create(comp.GetChild("comCard"));
  80. m_btn0 = (UI_BtnTab3)UI_BtnTab3.Create(comp.GetChild("btn0"));
  81. m_btn1 = (UI_BtnTab3)UI_BtnTab3.Create(comp.GetChild("btn1"));
  82. m_btn2 = (UI_BtnTab3)UI_BtnTab3.Create(comp.GetChild("btn2"));
  83. m_btnDress = (GButton)comp.GetChild("btnDress");
  84. m_btnRecommend = (GButton)comp.GetChild("btnRecommend");
  85. m_btnConfire = (GButton)comp.GetChild("btnConfire");
  86. }
  87. public void Dispose(bool disposeTarget = false)
  88. {
  89. m_c1 = null;
  90. m_c2 = null;
  91. m_c3 = null;
  92. m_c4 = null;
  93. m_loaBg = null;
  94. m_btnBack = null;
  95. m_grhCloseComFightScore = null;
  96. m_comValueInfo.Dispose();
  97. m_comValueInfo = null;
  98. m_comFieldValueInfo.Dispose();
  99. m_comFieldValueInfo = null;
  100. m_comListBg = null;
  101. m_list = null;
  102. m_comCard.Dispose();
  103. m_comCard = null;
  104. m_btn0.Dispose();
  105. m_btn0 = null;
  106. m_btn1.Dispose();
  107. m_btn1 = null;
  108. m_btn2.Dispose();
  109. m_btn2 = null;
  110. m_btnDress = null;
  111. m_btnRecommend = null;
  112. m_btnConfire = null;
  113. if(disposeTarget && target != null)
  114. {
  115. target.RemoveFromParent();
  116. target.Dispose();
  117. }
  118. target = null;
  119. }
  120. }
  121. }