UI_LuckBoxBonusShowUI.cs 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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_LuckBoxBonusShowUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public GLoader m_loaBg;
  10. public GGraph m_holder_star;
  11. public GGraph m_holder_bg;
  12. public GGraph m_holder_cloud;
  13. public UI_LuckyBoxBonusShowItem m_itemOne;
  14. public UI_LuckyBoxBonusShowItem m_item0;
  15. public UI_LuckyBoxBonusShowItem m_item1;
  16. public UI_LuckyBoxBonusShowItem m_item2;
  17. public UI_LuckyBoxBonusShowItem m_item3;
  18. public UI_LuckyBoxBonusShowItem m_item4;
  19. public UI_LuckyBoxBonusShowItem m_item5;
  20. public UI_LuckyBoxBonusShowItem m_item6;
  21. public UI_LuckyBoxBonusShowItem m_item7;
  22. public UI_LuckyBoxBonusShowItem m_item8;
  23. public UI_LuckyBoxBonusShowItem m_item9;
  24. public GButton m_BtnPass;
  25. public GGraph m_touchFlipOpen;
  26. public Transition m_t0;
  27. public Transition m_t1;
  28. public const string URL = "ui://drx9d1use050tf3";
  29. public const string PACKAGE_NAME = "LuckyBox";
  30. public const string RES_NAME = "LuckBoxBonusShowUI";
  31. private static UI_LuckBoxBonusShowUI _proxy;
  32. public static UI_LuckBoxBonusShowUI Create(GObject gObject = null)
  33. {
  34. var ui = new UI_LuckBoxBonusShowUI();
  35. if(gObject == null)
  36. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  37. else
  38. ui.target = (GComponent)gObject;
  39. ui.Init(ui.target);
  40. return ui;
  41. }
  42. public static UI_LuckBoxBonusShowUI Proxy(GObject gObject = null)
  43. {
  44. if(_proxy == null)
  45. {
  46. _proxy = new UI_LuckBoxBonusShowUI();
  47. }
  48. var ui = _proxy;
  49. if(gObject == null)
  50. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  51. else
  52. ui.target = (GComponent)gObject;
  53. ui.Init(ui.target);
  54. return ui;
  55. }
  56. public static void ProxyEnd()
  57. {
  58. if (_proxy != null)
  59. {
  60. _proxy.Dispose();
  61. }
  62. }
  63. public static void ClearProxy()
  64. {
  65. ProxyEnd();
  66. _proxy = null;
  67. }
  68. private void Init(GComponent comp)
  69. {
  70. m_c1 = comp.GetController("c1");
  71. m_loaBg = (GLoader)comp.GetChild("loaBg");
  72. m_holder_star = (GGraph)comp.GetChild("holder_star");
  73. m_holder_bg = (GGraph)comp.GetChild("holder_bg");
  74. m_holder_cloud = (GGraph)comp.GetChild("holder_cloud");
  75. m_itemOne = (UI_LuckyBoxBonusShowItem)UI_LuckyBoxBonusShowItem.Create(comp.GetChild("itemOne"));
  76. m_item0 = (UI_LuckyBoxBonusShowItem)UI_LuckyBoxBonusShowItem.Create(comp.GetChild("item0"));
  77. m_item1 = (UI_LuckyBoxBonusShowItem)UI_LuckyBoxBonusShowItem.Create(comp.GetChild("item1"));
  78. m_item2 = (UI_LuckyBoxBonusShowItem)UI_LuckyBoxBonusShowItem.Create(comp.GetChild("item2"));
  79. m_item3 = (UI_LuckyBoxBonusShowItem)UI_LuckyBoxBonusShowItem.Create(comp.GetChild("item3"));
  80. m_item4 = (UI_LuckyBoxBonusShowItem)UI_LuckyBoxBonusShowItem.Create(comp.GetChild("item4"));
  81. m_item5 = (UI_LuckyBoxBonusShowItem)UI_LuckyBoxBonusShowItem.Create(comp.GetChild("item5"));
  82. m_item6 = (UI_LuckyBoxBonusShowItem)UI_LuckyBoxBonusShowItem.Create(comp.GetChild("item6"));
  83. m_item7 = (UI_LuckyBoxBonusShowItem)UI_LuckyBoxBonusShowItem.Create(comp.GetChild("item7"));
  84. m_item8 = (UI_LuckyBoxBonusShowItem)UI_LuckyBoxBonusShowItem.Create(comp.GetChild("item8"));
  85. m_item9 = (UI_LuckyBoxBonusShowItem)UI_LuckyBoxBonusShowItem.Create(comp.GetChild("item9"));
  86. m_BtnPass = (GButton)comp.GetChild("BtnPass");
  87. m_touchFlipOpen = (GGraph)comp.GetChild("touchFlipOpen");
  88. m_t0 = comp.GetTransition("t0");
  89. m_t1 = comp.GetTransition("t1");
  90. }
  91. public void Dispose(bool disposeTarget = false)
  92. {
  93. m_c1 = null;
  94. m_loaBg = null;
  95. m_holder_star = null;
  96. m_holder_bg = null;
  97. m_holder_cloud = null;
  98. m_itemOne.Dispose();
  99. m_itemOne = null;
  100. m_item0.Dispose();
  101. m_item0 = null;
  102. m_item1.Dispose();
  103. m_item1 = null;
  104. m_item2.Dispose();
  105. m_item2 = null;
  106. m_item3.Dispose();
  107. m_item3 = null;
  108. m_item4.Dispose();
  109. m_item4 = null;
  110. m_item5.Dispose();
  111. m_item5 = null;
  112. m_item6.Dispose();
  113. m_item6 = null;
  114. m_item7.Dispose();
  115. m_item7 = null;
  116. m_item8.Dispose();
  117. m_item8 = null;
  118. m_item9.Dispose();
  119. m_item9 = null;
  120. m_BtnPass = null;
  121. m_touchFlipOpen = null;
  122. m_t0 = null;
  123. m_t1 = null;
  124. if(disposeTarget && target != null)
  125. {
  126. target.RemoveFromParent();
  127. target.Dispose();
  128. }
  129. target = null;
  130. }
  131. }
  132. }