UI_TimeTracingLevelUI.cs 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.TimeTracing
  4. {
  5. public partial class UI_TimeTracingLevelUI
  6. {
  7. public GComponent target;
  8. public GLoader m_bg;
  9. public GButton m_btnBack;
  10. public GLoader m_rankBtn;
  11. public GLoader m_headFrame;
  12. public GLoader m_headIcon;
  13. public GTextField m_playerName;
  14. public UI_TimeTracingLevelItem m_level1;
  15. public UI_TimeTracingLevelItem m_level2;
  16. public UI_TimeTracingLevelItem m_level3;
  17. public UI_TimeTracingLevelItem m_level4;
  18. public UI_TimeTracingLevelItem m_level5;
  19. public GLoader m_suitBg;
  20. public GTextField m_suitNum;
  21. public GLoader m_suitIcon;
  22. public GGroup m_targetSuit;
  23. public GProgressBar m_proBar;
  24. public GTextField m_countNum;
  25. public GLoader m_countDesc;
  26. public UI_proBarItem m_barItem0;
  27. public UI_proBarItem m_barItem1;
  28. public UI_proBarItem m_barItem2;
  29. public UI_proBarItem m_barItem3;
  30. public UI_proBarItem m_barItem4;
  31. public GComponent m_moneyList;
  32. public const string URL = "ui://gayfh946l815g";
  33. public const string PACKAGE_NAME = "TimeTracing";
  34. public const string RES_NAME = "TimeTracingLevelUI";
  35. private static UI_TimeTracingLevelUI _proxy;
  36. public static UI_TimeTracingLevelUI Create(GObject gObject = null)
  37. {
  38. var ui = new UI_TimeTracingLevelUI();
  39. if(gObject == null)
  40. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  41. else
  42. ui.target = (GComponent)gObject;
  43. ui.Init(ui.target);
  44. return ui;
  45. }
  46. public static UI_TimeTracingLevelUI Proxy(GObject gObject = null)
  47. {
  48. if(_proxy == null)
  49. {
  50. _proxy = new UI_TimeTracingLevelUI();
  51. }
  52. var ui = _proxy;
  53. if(gObject == null)
  54. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  55. else
  56. ui.target = (GComponent)gObject;
  57. ui.Init(ui.target);
  58. return ui;
  59. }
  60. public static void ProxyEnd()
  61. {
  62. if (_proxy != null)
  63. {
  64. _proxy.Dispose();
  65. }
  66. }
  67. public static void ClearProxy()
  68. {
  69. ProxyEnd();
  70. _proxy = null;
  71. }
  72. private void Init(GComponent comp)
  73. {
  74. m_bg = (GLoader)comp.GetChild("bg");
  75. m_btnBack = (GButton)comp.GetChild("btnBack");
  76. m_rankBtn = (GLoader)comp.GetChild("rankBtn");
  77. m_headFrame = (GLoader)comp.GetChild("headFrame");
  78. m_headIcon = (GLoader)comp.GetChild("headIcon");
  79. m_playerName = (GTextField)comp.GetChild("playerName");
  80. m_level1 = (UI_TimeTracingLevelItem)UI_TimeTracingLevelItem.Create(comp.GetChild("level1"));
  81. m_level2 = (UI_TimeTracingLevelItem)UI_TimeTracingLevelItem.Create(comp.GetChild("level2"));
  82. m_level3 = (UI_TimeTracingLevelItem)UI_TimeTracingLevelItem.Create(comp.GetChild("level3"));
  83. m_level4 = (UI_TimeTracingLevelItem)UI_TimeTracingLevelItem.Create(comp.GetChild("level4"));
  84. m_level5 = (UI_TimeTracingLevelItem)UI_TimeTracingLevelItem.Create(comp.GetChild("level5"));
  85. m_suitBg = (GLoader)comp.GetChild("suitBg");
  86. m_suitNum = (GTextField)comp.GetChild("suitNum");
  87. m_suitIcon = (GLoader)comp.GetChild("suitIcon");
  88. m_targetSuit = (GGroup)comp.GetChild("targetSuit");
  89. m_proBar = (GProgressBar)comp.GetChild("proBar");
  90. m_countNum = (GTextField)comp.GetChild("countNum");
  91. m_countDesc = (GLoader)comp.GetChild("countDesc");
  92. m_barItem0 = (UI_proBarItem)UI_proBarItem.Create(comp.GetChild("barItem0"));
  93. m_barItem1 = (UI_proBarItem)UI_proBarItem.Create(comp.GetChild("barItem1"));
  94. m_barItem2 = (UI_proBarItem)UI_proBarItem.Create(comp.GetChild("barItem2"));
  95. m_barItem3 = (UI_proBarItem)UI_proBarItem.Create(comp.GetChild("barItem3"));
  96. m_barItem4 = (UI_proBarItem)UI_proBarItem.Create(comp.GetChild("barItem4"));
  97. m_moneyList = (GComponent)comp.GetChild("moneyList");
  98. }
  99. public void Dispose(bool disposeTarget = false)
  100. {
  101. m_bg = null;
  102. m_btnBack = null;
  103. m_rankBtn = null;
  104. m_headFrame = null;
  105. m_headIcon = null;
  106. m_playerName = null;
  107. m_level1.Dispose();
  108. m_level1 = null;
  109. m_level2.Dispose();
  110. m_level2 = null;
  111. m_level3.Dispose();
  112. m_level3 = null;
  113. m_level4.Dispose();
  114. m_level4 = null;
  115. m_level5.Dispose();
  116. m_level5 = null;
  117. m_suitBg = null;
  118. m_suitNum = null;
  119. m_suitIcon = null;
  120. m_targetSuit = null;
  121. m_proBar = null;
  122. m_countNum = null;
  123. m_countDesc = null;
  124. m_barItem0.Dispose();
  125. m_barItem0 = null;
  126. m_barItem1.Dispose();
  127. m_barItem1 = null;
  128. m_barItem2.Dispose();
  129. m_barItem2 = null;
  130. m_barItem3.Dispose();
  131. m_barItem3 = null;
  132. m_barItem4.Dispose();
  133. m_barItem4 = null;
  134. m_moneyList = null;
  135. if(disposeTarget && target != null)
  136. {
  137. target.RemoveFromParent();
  138. target.Dispose();
  139. }
  140. target = null;
  141. }
  142. }
  143. }