UI_ActivityDay7UI.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.ActivityDay7
  4. {
  5. public partial class UI_ActivityDay7UI
  6. {
  7. public GComponent target;
  8. public GLoader m_loaBg;
  9. public GButton m_btnBack;
  10. public GTextField m_TimeStr;
  11. public GButton m_tip;
  12. public GProgressBar m_ExpProcess;
  13. public GList m_DayList;
  14. public GLoader m_EndIndex;
  15. public GLoader m_StartIndex;
  16. public GTextField m_Score;
  17. public GTextField m_txtLevel;
  18. public UI_comTaskList m_comTaskList;
  19. public const string URL = "ui://kupdwln7nyhm1";
  20. public const string PACKAGE_NAME = "ActivityDay7";
  21. public const string RES_NAME = "ActivityDay7UI";
  22. private static UI_ActivityDay7UI _proxy;
  23. public static UI_ActivityDay7UI Create(GObject gObject = null)
  24. {
  25. var ui = new UI_ActivityDay7UI();
  26. if(gObject == null)
  27. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  28. else
  29. ui.target = (GComponent)gObject;
  30. ui.Init(ui.target);
  31. return ui;
  32. }
  33. public static UI_ActivityDay7UI Proxy(GObject gObject = null)
  34. {
  35. if(_proxy == null)
  36. {
  37. _proxy = new UI_ActivityDay7UI();
  38. }
  39. var ui = _proxy;
  40. if(gObject == null)
  41. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  42. else
  43. ui.target = (GComponent)gObject;
  44. ui.Init(ui.target);
  45. return ui;
  46. }
  47. public static void ProxyEnd()
  48. {
  49. if (_proxy != null)
  50. {
  51. _proxy.Dispose();
  52. }
  53. }
  54. public static void ClearProxy()
  55. {
  56. ProxyEnd();
  57. _proxy = null;
  58. }
  59. private void Init(GComponent comp)
  60. {
  61. m_loaBg = (GLoader)comp.GetChild("loaBg");
  62. m_btnBack = (GButton)comp.GetChild("btnBack");
  63. m_TimeStr = (GTextField)comp.GetChild("TimeStr");
  64. m_tip = (GButton)comp.GetChild("tip");
  65. m_ExpProcess = (GProgressBar)comp.GetChild("ExpProcess");
  66. m_DayList = (GList)comp.GetChild("DayList");
  67. m_EndIndex = (GLoader)comp.GetChild("EndIndex");
  68. m_StartIndex = (GLoader)comp.GetChild("StartIndex");
  69. m_Score = (GTextField)comp.GetChild("Score");
  70. m_txtLevel = (GTextField)comp.GetChild("txtLevel");
  71. m_comTaskList = (UI_comTaskList)UI_comTaskList.Create(comp.GetChild("comTaskList"));
  72. }
  73. public void Dispose(bool disposeTarget = false)
  74. {
  75. m_loaBg = null;
  76. m_btnBack = null;
  77. m_TimeStr = null;
  78. m_tip = null;
  79. m_ExpProcess = null;
  80. m_DayList = null;
  81. m_EndIndex = null;
  82. m_StartIndex = null;
  83. m_Score = null;
  84. m_txtLevel = null;
  85. m_comTaskList.Dispose();
  86. m_comTaskList = null;
  87. if(disposeTarget && target != null)
  88. {
  89. target.RemoveFromParent();
  90. target.Dispose();
  91. }
  92. target = null;
  93. }
  94. }
  95. }