UI_ClothingUI.cs 5.9 KB

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