UI_PearlRebateTipsUI.cs 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.ActivityMain
  4. {
  5. public partial class UI_PearlRebateTipsUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public GTextField m_timeText;
  10. public UI_Button11 m_one;
  11. public UI_Btn18 m_two;
  12. public UI_btn30 m_three;
  13. public GComponent m_item0;
  14. public GComponent m_item1;
  15. public GComponent m_item2;
  16. public UI_Button10 m_buyBtn;
  17. public UI_Button14 m_gotbtn;
  18. public GLoader m_backBtn;
  19. public GGraph m_effectBtn;
  20. public GGraph m_effectBG;
  21. public Transition m_t0;
  22. public Transition m_t1;
  23. public Transition m_t4;
  24. public const string URL = "ui://4ht5s77u7xo51s";
  25. public const string PACKAGE_NAME = "ActivityMain";
  26. public const string RES_NAME = "PearlRebateTipsUI";
  27. private static UI_PearlRebateTipsUI _proxy;
  28. public static UI_PearlRebateTipsUI Create(GObject gObject = null)
  29. {
  30. var ui = new UI_PearlRebateTipsUI();
  31. if(gObject == null)
  32. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  33. else
  34. ui.target = (GComponent)gObject;
  35. ui.Init(ui.target);
  36. return ui;
  37. }
  38. public static UI_PearlRebateTipsUI Proxy(GObject gObject = null)
  39. {
  40. if(_proxy == null)
  41. {
  42. _proxy = new UI_PearlRebateTipsUI();
  43. }
  44. var ui = _proxy;
  45. if(gObject == null)
  46. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  47. else
  48. ui.target = (GComponent)gObject;
  49. ui.Init(ui.target);
  50. return ui;
  51. }
  52. public static void ProxyEnd()
  53. {
  54. if (_proxy != null)
  55. {
  56. _proxy.Dispose();
  57. }
  58. }
  59. public static void ClearProxy()
  60. {
  61. ProxyEnd();
  62. _proxy = null;
  63. }
  64. private void Init(GComponent comp)
  65. {
  66. m_c1 = comp.GetController("c1");
  67. m_timeText = (GTextField)comp.GetChild("timeText");
  68. m_one = (UI_Button11)UI_Button11.Create(comp.GetChild("one"));
  69. m_two = (UI_Btn18)UI_Btn18.Create(comp.GetChild("two"));
  70. m_three = (UI_btn30)UI_btn30.Create(comp.GetChild("three"));
  71. m_item0 = (GComponent)comp.GetChild("item0");
  72. m_item1 = (GComponent)comp.GetChild("item1");
  73. m_item2 = (GComponent)comp.GetChild("item2");
  74. m_buyBtn = (UI_Button10)UI_Button10.Create(comp.GetChild("buyBtn"));
  75. m_gotbtn = (UI_Button14)UI_Button14.Create(comp.GetChild("gotbtn"));
  76. m_backBtn = (GLoader)comp.GetChild("backBtn");
  77. m_effectBtn = (GGraph)comp.GetChild("effectBtn");
  78. m_effectBG = (GGraph)comp.GetChild("effectBG");
  79. m_t0 = comp.GetTransition("t0");
  80. m_t1 = comp.GetTransition("t1");
  81. m_t4 = comp.GetTransition("t4");
  82. }
  83. public void Dispose(bool disposeTarget = false)
  84. {
  85. m_c1 = null;
  86. m_timeText = null;
  87. m_one.Dispose();
  88. m_one = null;
  89. m_two.Dispose();
  90. m_two = null;
  91. m_three.Dispose();
  92. m_three = null;
  93. m_item0 = null;
  94. m_item1 = null;
  95. m_item2 = null;
  96. m_buyBtn.Dispose();
  97. m_buyBtn = null;
  98. m_gotbtn.Dispose();
  99. m_gotbtn = null;
  100. m_backBtn = null;
  101. m_effectBtn = null;
  102. m_effectBG = null;
  103. m_t0 = null;
  104. m_t1 = null;
  105. m_t4 = null;
  106. if(disposeTarget && target != null)
  107. {
  108. target.RemoveFromParent();
  109. target.Dispose();
  110. }
  111. target = null;
  112. }
  113. }
  114. }