UI_ActivityHuaRongDaoUI.cs 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.ActivityHuaRongDao
  4. {
  5. public partial class UI_ActivityHuaRongDaoUI
  6. {
  7. public GComponent target;
  8. public Controller m_state;
  9. public GLoader m_loaBg;
  10. public UI_item m_item;
  11. public GTextField m_seconds;
  12. public GGroup m_tips;
  13. public GButton m_btnLookPic;
  14. public GButton m_btnHidePic;
  15. public GButton m_btnRefresh;
  16. public UI_items m_items;
  17. public UI_items m_itemsOrigin;
  18. public GGraph m_mask;
  19. public GGraph m_maskGlobal;
  20. public GButton m_btnBack;
  21. public Transition m_showMask;
  22. public Transition m_hideMask;
  23. public const string URL = "ui://wf8geywtnx120";
  24. public const string PACKAGE_NAME = "ActivityHuaRongDao";
  25. public const string RES_NAME = "ActivityHuaRongDaoUI";
  26. private static UI_ActivityHuaRongDaoUI _proxy;
  27. public static UI_ActivityHuaRongDaoUI Create(GObject gObject = null)
  28. {
  29. var ui = new UI_ActivityHuaRongDaoUI();
  30. if(gObject == null)
  31. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  32. else
  33. ui.target = (GComponent)gObject;
  34. ui.Init(ui.target);
  35. return ui;
  36. }
  37. public static UI_ActivityHuaRongDaoUI Proxy(GObject gObject = null)
  38. {
  39. if(_proxy == null)
  40. {
  41. _proxy = new UI_ActivityHuaRongDaoUI();
  42. }
  43. var ui = _proxy;
  44. if(gObject == null)
  45. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  46. else
  47. ui.target = (GComponent)gObject;
  48. ui.Init(ui.target);
  49. return ui;
  50. }
  51. public static void ProxyEnd()
  52. {
  53. if (_proxy != null)
  54. {
  55. _proxy.Dispose();
  56. }
  57. }
  58. public static void ClearProxy()
  59. {
  60. ProxyEnd();
  61. _proxy = null;
  62. }
  63. private void Init(GComponent comp)
  64. {
  65. m_state = comp.GetController("state");
  66. m_loaBg = (GLoader)comp.GetChild("loaBg");
  67. m_item = (UI_item)UI_item.Create(comp.GetChild("item"));
  68. m_seconds = (GTextField)comp.GetChild("seconds");
  69. m_tips = (GGroup)comp.GetChild("tips");
  70. m_btnLookPic = (GButton)comp.GetChild("btnLookPic");
  71. m_btnHidePic = (GButton)comp.GetChild("btnHidePic");
  72. m_btnRefresh = (GButton)comp.GetChild("btnRefresh");
  73. m_items = (UI_items)UI_items.Create(comp.GetChild("items"));
  74. m_itemsOrigin = (UI_items)UI_items.Create(comp.GetChild("itemsOrigin"));
  75. m_mask = (GGraph)comp.GetChild("mask");
  76. m_maskGlobal = (GGraph)comp.GetChild("maskGlobal");
  77. m_btnBack = (GButton)comp.GetChild("btnBack");
  78. m_showMask = comp.GetTransition("showMask");
  79. m_hideMask = comp.GetTransition("hideMask");
  80. }
  81. public void Dispose(bool disposeTarget = false)
  82. {
  83. m_state = null;
  84. m_loaBg = null;
  85. m_item.Dispose();
  86. m_item = null;
  87. m_seconds = null;
  88. m_tips = null;
  89. m_btnLookPic = null;
  90. m_btnHidePic = null;
  91. m_btnRefresh = null;
  92. m_items.Dispose();
  93. m_items = null;
  94. m_itemsOrigin.Dispose();
  95. m_itemsOrigin = null;
  96. m_mask = null;
  97. m_maskGlobal = null;
  98. m_btnBack = null;
  99. m_showMask = null;
  100. m_hideMask = null;
  101. if(disposeTarget && target != null)
  102. {
  103. target.RemoveFromParent();
  104. target.Dispose();
  105. }
  106. target = null;
  107. }
  108. }
  109. }