UI_ActivityGetYuanXiaoEntryUI.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.ActivityGetYuanXiao
  4. {
  5. public partial class UI_ActivityGetYuanXiaoEntryUI
  6. {
  7. public GComponent target;
  8. public GLoader m_loaBg;
  9. public GGraph m_bgEffect;
  10. public GGraph m_leafEffect;
  11. public GGraph m_yuanXiaoEffect;
  12. public GButton m_btnTask;
  13. public GButton m_btnShop;
  14. public GGraph m_cloudEffect;
  15. public GList m_list;
  16. public GGraph m_startBtnEffect;
  17. public GGraph m_titleTextEffect;
  18. public GComponent m_valueBar;
  19. public GButton m_btnBack;
  20. public GButton m_btnStart;
  21. public const string URL = "ui://tguohf7uqkvg4";
  22. public const string PACKAGE_NAME = "ActivityGetYuanXiao";
  23. public const string RES_NAME = "ActivityGetYuanXiaoEntryUI";
  24. private static UI_ActivityGetYuanXiaoEntryUI _proxy;
  25. public static UI_ActivityGetYuanXiaoEntryUI Create(GObject gObject = null)
  26. {
  27. var ui = new UI_ActivityGetYuanXiaoEntryUI();
  28. if(gObject == null)
  29. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  30. else
  31. ui.target = (GComponent)gObject;
  32. ui.Init(ui.target);
  33. return ui;
  34. }
  35. public static UI_ActivityGetYuanXiaoEntryUI Proxy(GObject gObject = null)
  36. {
  37. if(_proxy == null)
  38. {
  39. _proxy = new UI_ActivityGetYuanXiaoEntryUI();
  40. }
  41. var ui = _proxy;
  42. if(gObject == null)
  43. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  44. else
  45. ui.target = (GComponent)gObject;
  46. ui.Init(ui.target);
  47. return ui;
  48. }
  49. public static void ProxyEnd()
  50. {
  51. if (_proxy != null)
  52. {
  53. _proxy.Dispose();
  54. }
  55. }
  56. public static void ClearProxy()
  57. {
  58. ProxyEnd();
  59. _proxy = null;
  60. }
  61. private void Init(GComponent comp)
  62. {
  63. m_loaBg = (GLoader)comp.GetChild("loaBg");
  64. m_bgEffect = (GGraph)comp.GetChild("bgEffect");
  65. m_leafEffect = (GGraph)comp.GetChild("leafEffect");
  66. m_yuanXiaoEffect = (GGraph)comp.GetChild("yuanXiaoEffect");
  67. m_btnTask = (GButton)comp.GetChild("btnTask");
  68. m_btnShop = (GButton)comp.GetChild("btnShop");
  69. m_cloudEffect = (GGraph)comp.GetChild("cloudEffect");
  70. m_list = (GList)comp.GetChild("list");
  71. m_startBtnEffect = (GGraph)comp.GetChild("startBtnEffect");
  72. m_titleTextEffect = (GGraph)comp.GetChild("titleTextEffect");
  73. m_valueBar = (GComponent)comp.GetChild("valueBar");
  74. m_btnBack = (GButton)comp.GetChild("btnBack");
  75. m_btnStart = (GButton)comp.GetChild("btnStart");
  76. }
  77. public void Dispose(bool disposeTarget = false)
  78. {
  79. m_loaBg = null;
  80. m_bgEffect = null;
  81. m_leafEffect = null;
  82. m_yuanXiaoEffect = null;
  83. m_btnTask = null;
  84. m_btnShop = null;
  85. m_cloudEffect = null;
  86. m_list = null;
  87. m_startBtnEffect = null;
  88. m_titleTextEffect = null;
  89. m_valueBar = null;
  90. m_btnBack = null;
  91. m_btnStart = null;
  92. if(disposeTarget && target != null)
  93. {
  94. target.RemoveFromParent();
  95. target.Dispose();
  96. }
  97. target = null;
  98. }
  99. }
  100. }