UI_LuckyBoxStarUI.cs 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.LuckyBox
  4. {
  5. public partial class UI_LuckyBoxStarUI
  6. {
  7. public GComponent target;
  8. public Controller m_ctrlBuyType;
  9. public Controller m_ctrlRewardsType;
  10. public GLoader m_bg;
  11. public GButton m_btnBack;
  12. public UI_ComStar m_comStar0_0_0;
  13. public UI_ComStar m_comStar0_1_0;
  14. public UI_ComStar m_comStar0_2_0;
  15. public UI_ComStar m_comStar1_0_0;
  16. public UI_ComStar m_comStar1_0_1;
  17. public UI_ComStar m_comStar1_0_2;
  18. public UI_ComStar m_comStar1_0_3;
  19. public GGroup m_grpComStar0;
  20. public UI_ComStar m_comStar1_1_0;
  21. public UI_ComStar m_comStar1_1_1;
  22. public UI_ComStar m_comStar1_1_2;
  23. public UI_ComStar m_comStar1_1_3;
  24. public GGroup m_grpComStar1;
  25. public UI_ComStar m_comStar1_2_0;
  26. public UI_ComStar m_comStar1_2_1;
  27. public UI_ComStar m_comStar1_2_2;
  28. public UI_ComStar m_comStar1_2_3;
  29. public GGroup m_grpComStar2;
  30. public const string URL = "ui://drx9d1usl5nzm";
  31. public const string PACKAGE_NAME = "LuckyBox";
  32. public const string RES_NAME = "LuckyBoxStarUI";
  33. private static UI_LuckyBoxStarUI _proxy;
  34. public static UI_LuckyBoxStarUI Create(GObject gObject = null)
  35. {
  36. var ui = new UI_LuckyBoxStarUI();
  37. if(gObject == null)
  38. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  39. else
  40. ui.target = (GComponent)gObject;
  41. ui.Init(ui.target);
  42. return ui;
  43. }
  44. public static UI_LuckyBoxStarUI Proxy(GObject gObject = null)
  45. {
  46. if(_proxy == null)
  47. {
  48. _proxy = new UI_LuckyBoxStarUI();
  49. }
  50. var ui = _proxy;
  51. if(gObject == null)
  52. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  53. else
  54. ui.target = (GComponent)gObject;
  55. ui.Init(ui.target);
  56. return ui;
  57. }
  58. public static void ProxyEnd()
  59. {
  60. if (_proxy != null)
  61. {
  62. _proxy.Dispose();
  63. }
  64. }
  65. public static void ClearProxy()
  66. {
  67. ProxyEnd();
  68. _proxy = null;
  69. }
  70. private void Init(GComponent comp)
  71. {
  72. m_ctrlBuyType = comp.GetController("ctrlBuyType");
  73. m_ctrlRewardsType = comp.GetController("ctrlRewardsType");
  74. m_bg = (GLoader)comp.GetChild("bg");
  75. m_btnBack = (GButton)comp.GetChild("btnBack");
  76. m_comStar0_0_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar0_0_0"));
  77. m_comStar0_1_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar0_1_0"));
  78. m_comStar0_2_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar0_2_0"));
  79. m_comStar1_0_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_0"));
  80. m_comStar1_0_1 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_1"));
  81. m_comStar1_0_2 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_2"));
  82. m_comStar1_0_3 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_0_3"));
  83. m_grpComStar0 = (GGroup)comp.GetChild("grpComStar0");
  84. m_comStar1_1_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_0"));
  85. m_comStar1_1_1 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_1"));
  86. m_comStar1_1_2 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_2"));
  87. m_comStar1_1_3 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_1_3"));
  88. m_grpComStar1 = (GGroup)comp.GetChild("grpComStar1");
  89. m_comStar1_2_0 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_0"));
  90. m_comStar1_2_1 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_1"));
  91. m_comStar1_2_2 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_2"));
  92. m_comStar1_2_3 = (UI_ComStar)UI_ComStar.Create(comp.GetChild("comStar1_2_3"));
  93. m_grpComStar2 = (GGroup)comp.GetChild("grpComStar2");
  94. }
  95. public void Dispose(bool disposeTarget = false)
  96. {
  97. m_ctrlBuyType = null;
  98. m_ctrlRewardsType = null;
  99. m_bg = null;
  100. m_btnBack = null;
  101. m_comStar0_0_0.Dispose();
  102. m_comStar0_0_0 = null;
  103. m_comStar0_1_0.Dispose();
  104. m_comStar0_1_0 = null;
  105. m_comStar0_2_0.Dispose();
  106. m_comStar0_2_0 = null;
  107. m_comStar1_0_0.Dispose();
  108. m_comStar1_0_0 = null;
  109. m_comStar1_0_1.Dispose();
  110. m_comStar1_0_1 = null;
  111. m_comStar1_0_2.Dispose();
  112. m_comStar1_0_2 = null;
  113. m_comStar1_0_3.Dispose();
  114. m_comStar1_0_3 = null;
  115. m_grpComStar0 = null;
  116. m_comStar1_1_0.Dispose();
  117. m_comStar1_1_0 = null;
  118. m_comStar1_1_1.Dispose();
  119. m_comStar1_1_1 = null;
  120. m_comStar1_1_2.Dispose();
  121. m_comStar1_1_2 = null;
  122. m_comStar1_1_3.Dispose();
  123. m_comStar1_1_3 = null;
  124. m_grpComStar1 = null;
  125. m_comStar1_2_0.Dispose();
  126. m_comStar1_2_0 = null;
  127. m_comStar1_2_1.Dispose();
  128. m_comStar1_2_1 = null;
  129. m_comStar1_2_2.Dispose();
  130. m_comStar1_2_2 = null;
  131. m_comStar1_2_3.Dispose();
  132. m_comStar1_2_3 = null;
  133. m_grpComStar2 = null;
  134. if(disposeTarget && target != null)
  135. {
  136. target.RemoveFromParent();
  137. target.Dispose();
  138. }
  139. target = null;
  140. }
  141. }
  142. }