UI_ActivityThemeLuckyBoxUI.cs 4.2 KB

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