UI_ActivityGetYuanXiaoUI.cs 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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_ActivityGetYuanXiaoUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public GLoader m_loaBg;
  10. public GGraph m_bgEffect;
  11. public UI_catchers m_catcher;
  12. public UI_YuanXiaoParent m_YuanXiaoParent;
  13. public GGraph m_end0;
  14. public GTextField m_time;
  15. public GList m_collectList;
  16. public GTextField m_score;
  17. public GButton m_btnBack;
  18. public GGraph m_start0;
  19. public GGraph m_start1;
  20. public GGraph m_start2;
  21. public GGraph m_start3;
  22. public GTextField m_progress;
  23. public GTextField m_targetScore;
  24. public GGraph m_startEffect;
  25. public const string URL = "ui://tguohf7ux0ey0";
  26. public const string PACKAGE_NAME = "ActivityGetYuanXiao";
  27. public const string RES_NAME = "ActivityGetYuanXiaoUI";
  28. private static UI_ActivityGetYuanXiaoUI _proxy;
  29. public static UI_ActivityGetYuanXiaoUI Create(GObject gObject = null)
  30. {
  31. var ui = new UI_ActivityGetYuanXiaoUI();
  32. if(gObject == null)
  33. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  34. else
  35. ui.target = (GComponent)gObject;
  36. ui.Init(ui.target);
  37. return ui;
  38. }
  39. public static UI_ActivityGetYuanXiaoUI Proxy(GObject gObject = null)
  40. {
  41. if(_proxy == null)
  42. {
  43. _proxy = new UI_ActivityGetYuanXiaoUI();
  44. }
  45. var ui = _proxy;
  46. if(gObject == null)
  47. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  48. else
  49. ui.target = (GComponent)gObject;
  50. ui.Init(ui.target);
  51. return ui;
  52. }
  53. public static void ProxyEnd()
  54. {
  55. if (_proxy != null)
  56. {
  57. _proxy.Dispose();
  58. }
  59. }
  60. public static void ClearProxy()
  61. {
  62. ProxyEnd();
  63. _proxy = null;
  64. }
  65. private void Init(GComponent comp)
  66. {
  67. m_c1 = comp.GetController("c1");
  68. m_loaBg = (GLoader)comp.GetChild("loaBg");
  69. m_bgEffect = (GGraph)comp.GetChild("bgEffect");
  70. m_catcher = (UI_catchers)UI_catchers.Create(comp.GetChild("catcher"));
  71. m_YuanXiaoParent = (UI_YuanXiaoParent)UI_YuanXiaoParent.Create(comp.GetChild("YuanXiaoParent"));
  72. m_end0 = (GGraph)comp.GetChild("end0");
  73. m_time = (GTextField)comp.GetChild("time");
  74. m_collectList = (GList)comp.GetChild("collectList");
  75. m_score = (GTextField)comp.GetChild("score");
  76. m_btnBack = (GButton)comp.GetChild("btnBack");
  77. m_start0 = (GGraph)comp.GetChild("start0");
  78. m_start1 = (GGraph)comp.GetChild("start1");
  79. m_start2 = (GGraph)comp.GetChild("start2");
  80. m_start3 = (GGraph)comp.GetChild("start3");
  81. m_progress = (GTextField)comp.GetChild("progress");
  82. m_targetScore = (GTextField)comp.GetChild("targetScore");
  83. m_startEffect = (GGraph)comp.GetChild("startEffect");
  84. }
  85. public void Dispose(bool disposeTarget = false)
  86. {
  87. m_c1 = null;
  88. m_loaBg = null;
  89. m_bgEffect = null;
  90. m_catcher.Dispose();
  91. m_catcher = null;
  92. m_YuanXiaoParent.Dispose();
  93. m_YuanXiaoParent = null;
  94. m_end0 = null;
  95. m_time = null;
  96. m_collectList = null;
  97. m_score = null;
  98. m_btnBack = null;
  99. m_start0 = null;
  100. m_start1 = null;
  101. m_start2 = null;
  102. m_start3 = null;
  103. m_progress = null;
  104. m_targetScore = null;
  105. m_startEffect = null;
  106. if(disposeTarget && target != null)
  107. {
  108. target.RemoveFromParent();
  109. target.Dispose();
  110. }
  111. target = null;
  112. }
  113. }
  114. }