UI_ActivityGetYuanXiaoUI.cs 4.3 KB

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