UI_ActivityHuaRongDaoEntryUI.cs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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_ActivityHuaRongDaoEntryUI
  6. {
  7. public GComponent target;
  8. public Controller m_activityID;
  9. public GGraph m_mask;
  10. public GButton m_btnClose;
  11. public GLoader m_loaBg;
  12. public GButton m_btnBack;
  13. public GButton m_btnRule;
  14. public UI_scrollPane m_scrollPane;
  15. public GTextField m_curLevel;
  16. public GTextField m_txtTime;
  17. public GButton m_btnStart;
  18. public GTextField m_challengeTimes;
  19. public Transition m_hide;
  20. public Transition m_show;
  21. public const string URL = "ui://wf8geywtltoy4";
  22. public const string PACKAGE_NAME = "ActivityHuaRongDao";
  23. public const string RES_NAME = "ActivityHuaRongDaoEntryUI";
  24. private static UI_ActivityHuaRongDaoEntryUI _proxy;
  25. public static UI_ActivityHuaRongDaoEntryUI Create(GObject gObject = null)
  26. {
  27. var ui = new UI_ActivityHuaRongDaoEntryUI();
  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_ActivityHuaRongDaoEntryUI Proxy(GObject gObject = null)
  36. {
  37. if(_proxy == null)
  38. {
  39. _proxy = new UI_ActivityHuaRongDaoEntryUI();
  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_activityID = comp.GetController("activityID");
  64. m_mask = (GGraph)comp.GetChild("mask");
  65. m_btnClose = (GButton)comp.GetChild("btnClose");
  66. m_loaBg = (GLoader)comp.GetChild("loaBg");
  67. m_btnBack = (GButton)comp.GetChild("btnBack");
  68. m_btnRule = (GButton)comp.GetChild("btnRule");
  69. m_scrollPane = (UI_scrollPane)UI_scrollPane.Create(comp.GetChild("scrollPane"));
  70. m_curLevel = (GTextField)comp.GetChild("curLevel");
  71. m_txtTime = (GTextField)comp.GetChild("txtTime");
  72. m_btnStart = (GButton)comp.GetChild("btnStart");
  73. m_challengeTimes = (GTextField)comp.GetChild("challengeTimes");
  74. m_hide = comp.GetTransition("hide");
  75. m_show = comp.GetTransition("show");
  76. }
  77. public void Dispose(bool disposeTarget = false)
  78. {
  79. m_activityID = null;
  80. m_mask = null;
  81. m_btnClose = null;
  82. m_loaBg = null;
  83. m_btnBack = null;
  84. m_btnRule = null;
  85. m_scrollPane.Dispose();
  86. m_scrollPane = null;
  87. m_curLevel = null;
  88. m_txtTime = null;
  89. m_btnStart = null;
  90. m_challengeTimes = null;
  91. m_hide = null;
  92. m_show = null;
  93. if(disposeTarget && target != null)
  94. {
  95. target.RemoveFromParent();
  96. target.Dispose();
  97. }
  98. target = null;
  99. }
  100. }
  101. }