UI_SuitUI.cs 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.ClothingFoster
  4. {
  5. public partial class UI_SuitUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public Controller m_c2;
  10. public GLoader m_bg;
  11. public GGraph m_holder;
  12. public GButton m_btnBack;
  13. public GTextField m_txtName;
  14. public GLoader m_loaRarity;
  15. public GButton m_btnRight;
  16. public GButton m_btnLeft;
  17. public GButton m_btnTabFoster;
  18. public GButton m_btnTabRenew;
  19. public UI_ComFosterReward m_comFosterReward;
  20. public GButton m_btnPropertyShow;
  21. public GList m_listProperty;
  22. public GList m_listFoster;
  23. public UI_comFosterAni m_comFosterAni;
  24. public GGroup m_grpFoster;
  25. public GTextField m_txtRenewProperty;
  26. public GComponent m_comRenewCost;
  27. public GButton m_btnRenew;
  28. public GTextField m_txtRenewTips;
  29. public UI_ComRenewReward m_comRenewReward;
  30. public GList m_listRenewMaterial;
  31. public GGroup m_grpRenew;
  32. public GTextField m_txtRenewShow;
  33. public UI_ComRenewRewardGet m_comRenewRewardGet;
  34. public GGroup m_grpRenewFinish;
  35. public const string URL = "ui://uicwtr5bpy5gf";
  36. public const string PACKAGE_NAME = "ClothingFoster";
  37. public const string RES_NAME = "SuitUI";
  38. private static UI_SuitUI _proxy;
  39. public static UI_SuitUI Create(GObject gObject = null)
  40. {
  41. var ui = new UI_SuitUI();
  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 UI_SuitUI Proxy(GObject gObject = null)
  50. {
  51. if(_proxy == null)
  52. {
  53. _proxy = new UI_SuitUI();
  54. }
  55. var ui = _proxy;
  56. if(gObject == null)
  57. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  58. else
  59. ui.target = (GComponent)gObject;
  60. ui.Init(ui.target);
  61. return ui;
  62. }
  63. public static void ProxyEnd()
  64. {
  65. if (_proxy != null)
  66. {
  67. _proxy.Dispose();
  68. }
  69. }
  70. public static void ClearProxy()
  71. {
  72. ProxyEnd();
  73. _proxy = null;
  74. }
  75. private void Init(GComponent comp)
  76. {
  77. m_c1 = comp.GetController("c1");
  78. m_c2 = comp.GetController("c2");
  79. m_bg = (GLoader)comp.GetChild("bg");
  80. m_holder = (GGraph)comp.GetChild("holder");
  81. m_btnBack = (GButton)comp.GetChild("btnBack");
  82. m_txtName = (GTextField)comp.GetChild("txtName");
  83. m_loaRarity = (GLoader)comp.GetChild("loaRarity");
  84. m_btnRight = (GButton)comp.GetChild("btnRight");
  85. m_btnLeft = (GButton)comp.GetChild("btnLeft");
  86. m_btnTabFoster = (GButton)comp.GetChild("btnTabFoster");
  87. m_btnTabRenew = (GButton)comp.GetChild("btnTabRenew");
  88. m_comFosterReward = (UI_ComFosterReward)UI_ComFosterReward.Create(comp.GetChild("comFosterReward"));
  89. m_btnPropertyShow = (GButton)comp.GetChild("btnPropertyShow");
  90. m_listProperty = (GList)comp.GetChild("listProperty");
  91. m_listFoster = (GList)comp.GetChild("listFoster");
  92. m_comFosterAni = (UI_comFosterAni)UI_comFosterAni.Create(comp.GetChild("comFosterAni"));
  93. m_grpFoster = (GGroup)comp.GetChild("grpFoster");
  94. m_txtRenewProperty = (GTextField)comp.GetChild("txtRenewProperty");
  95. m_comRenewCost = (GComponent)comp.GetChild("comRenewCost");
  96. m_btnRenew = (GButton)comp.GetChild("btnRenew");
  97. m_txtRenewTips = (GTextField)comp.GetChild("txtRenewTips");
  98. m_comRenewReward = (UI_ComRenewReward)UI_ComRenewReward.Create(comp.GetChild("comRenewReward"));
  99. m_listRenewMaterial = (GList)comp.GetChild("listRenewMaterial");
  100. m_grpRenew = (GGroup)comp.GetChild("grpRenew");
  101. m_txtRenewShow = (GTextField)comp.GetChild("txtRenewShow");
  102. m_comRenewRewardGet = (UI_ComRenewRewardGet)UI_ComRenewRewardGet.Create(comp.GetChild("comRenewRewardGet"));
  103. m_grpRenewFinish = (GGroup)comp.GetChild("grpRenewFinish");
  104. }
  105. public void Dispose(bool disposeTarget = false)
  106. {
  107. m_c1 = null;
  108. m_c2 = null;
  109. m_bg = null;
  110. m_holder = null;
  111. m_btnBack = null;
  112. m_txtName = null;
  113. m_loaRarity = null;
  114. m_btnRight = null;
  115. m_btnLeft = null;
  116. m_btnTabFoster = null;
  117. m_btnTabRenew = null;
  118. m_comFosterReward.Dispose();
  119. m_comFosterReward = null;
  120. m_btnPropertyShow = null;
  121. m_listProperty = null;
  122. m_listFoster = null;
  123. m_comFosterAni.Dispose();
  124. m_comFosterAni = null;
  125. m_grpFoster = null;
  126. m_txtRenewProperty = null;
  127. m_comRenewCost = null;
  128. m_btnRenew = null;
  129. m_txtRenewTips = null;
  130. m_comRenewReward.Dispose();
  131. m_comRenewReward = null;
  132. m_listRenewMaterial = null;
  133. m_grpRenew = null;
  134. m_txtRenewShow = null;
  135. m_comRenewRewardGet.Dispose();
  136. m_comRenewRewardGet = null;
  137. m_grpRenewFinish = null;
  138. if(disposeTarget && target != null)
  139. {
  140. target.RemoveFromParent();
  141. target.Dispose();
  142. }
  143. target = null;
  144. }
  145. }
  146. }