UI_ActivityGetYuanXiaoUI.cs 3.9 KB

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