UI_ActivityThemeLuckyBoxUI.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.ActivityThemeLuckyBox
  4. {
  5. public partial class UI_ActivityThemeLuckyBoxUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public GLoader m_loaBg;
  10. public UI_ComImgCard m_card;
  11. public GGraph m_bgEffectHolder;
  12. public GButton m_btnBack;
  13. public UI_Button1 m_btnChapter;
  14. public UI_Button1 m_btnLuckyBox;
  15. public UI_Button1 m_btnTask;
  16. public UI_Button1 m_btnShop;
  17. public GTextField m_timeDesc;
  18. public GTextField m_txtTime;
  19. public GTextField m_txtTime_4;
  20. public GButton m_btnLuckyBox_old;
  21. public GImage m_mask;
  22. public GLoader m_icon_5;
  23. public GTextField m_txtTime_5;
  24. public GGraph m_textEffect;
  25. public Transition m_In_2;
  26. public Transition m_In_4;
  27. public const string URL = "ui://ubfk2kobmbf1k";
  28. public const string PACKAGE_NAME = "ActivityThemeLuckyBox";
  29. public const string RES_NAME = "ActivityThemeLuckyBoxUI";
  30. private static UI_ActivityThemeLuckyBoxUI _proxy;
  31. public static UI_ActivityThemeLuckyBoxUI Create(GObject gObject = null)
  32. {
  33. var ui = new UI_ActivityThemeLuckyBoxUI();
  34. if(gObject == null)
  35. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  36. else
  37. ui.target = (GComponent)gObject;
  38. ui.Init(ui.target);
  39. return ui;
  40. }
  41. public static UI_ActivityThemeLuckyBoxUI Proxy(GObject gObject = null)
  42. {
  43. if(_proxy == null)
  44. {
  45. _proxy = new UI_ActivityThemeLuckyBoxUI();
  46. }
  47. var ui = _proxy;
  48. if(gObject == null)
  49. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  50. else
  51. ui.target = (GComponent)gObject;
  52. ui.Init(ui.target);
  53. return ui;
  54. }
  55. public static void ProxyEnd()
  56. {
  57. if (_proxy != null)
  58. {
  59. _proxy.Dispose();
  60. }
  61. }
  62. public static void ClearProxy()
  63. {
  64. ProxyEnd();
  65. _proxy = null;
  66. }
  67. private void Init(GComponent comp)
  68. {
  69. m_c1 = comp.GetController("c1");
  70. m_loaBg = (GLoader)comp.GetChild("loaBg");
  71. m_card = (UI_ComImgCard)UI_ComImgCard.Create(comp.GetChild("card"));
  72. m_bgEffectHolder = (GGraph)comp.GetChild("bgEffectHolder");
  73. m_btnBack = (GButton)comp.GetChild("btnBack");
  74. m_btnChapter = (UI_Button1)UI_Button1.Create(comp.GetChild("btnChapter"));
  75. m_btnLuckyBox = (UI_Button1)UI_Button1.Create(comp.GetChild("btnLuckyBox"));
  76. m_btnTask = (UI_Button1)UI_Button1.Create(comp.GetChild("btnTask"));
  77. m_btnShop = (UI_Button1)UI_Button1.Create(comp.GetChild("btnShop"));
  78. m_timeDesc = (GTextField)comp.GetChild("timeDesc");
  79. m_txtTime = (GTextField)comp.GetChild("txtTime");
  80. m_txtTime_4 = (GTextField)comp.GetChild("txtTime_4");
  81. m_btnLuckyBox_old = (GButton)comp.GetChild("btnLuckyBox_old");
  82. m_mask = (GImage)comp.GetChild("mask");
  83. m_icon_5 = (GLoader)comp.GetChild("icon_5");
  84. m_txtTime_5 = (GTextField)comp.GetChild("txtTime_5");
  85. m_textEffect = (GGraph)comp.GetChild("textEffect");
  86. m_In_2 = comp.GetTransition("In_2");
  87. m_In_4 = comp.GetTransition("In_4");
  88. }
  89. public void Dispose(bool disposeTarget = false)
  90. {
  91. m_c1 = null;
  92. m_loaBg = null;
  93. m_card.Dispose();
  94. m_card = null;
  95. m_bgEffectHolder = null;
  96. m_btnBack = null;
  97. m_btnChapter.Dispose();
  98. m_btnChapter = null;
  99. m_btnLuckyBox.Dispose();
  100. m_btnLuckyBox = null;
  101. m_btnTask.Dispose();
  102. m_btnTask = null;
  103. m_btnShop.Dispose();
  104. m_btnShop = null;
  105. m_timeDesc = null;
  106. m_txtTime = null;
  107. m_txtTime_4 = null;
  108. m_btnLuckyBox_old = null;
  109. m_mask = null;
  110. m_icon_5 = null;
  111. m_txtTime_5 = null;
  112. m_textEffect = null;
  113. m_In_2 = null;
  114. m_In_4 = null;
  115. if(disposeTarget && target != null)
  116. {
  117. target.RemoveFromParent();
  118. target.Dispose();
  119. }
  120. target = null;
  121. }
  122. }
  123. }