UI_LeagueAnsweringUI.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
  2. using FairyGUI;
  3. namespace UI.League
  4. {
  5. public partial class UI_LeagueAnsweringUI
  6. {
  7. public GComponent target;
  8. public Controller m_c1;
  9. public Controller m_c2;
  10. public GLoader m_loaBg;
  11. public GButton m_btnBack;
  12. public GTextField m_txtTime;
  13. public GButton m_btnRule;
  14. public GTextField m_txtRightCount;
  15. public GTextField m_txtAnswerTime;
  16. public GTextField m_txtAnswerNum;
  17. public GLoader m_loaIocn;
  18. public GTextField m_txtContent;
  19. public GList m_listResult;
  20. public GTextInput m_txtResult;
  21. public GComponent m_comRightHead;
  22. public GImage m_imgFail;
  23. public GTextField m_txtInfo;
  24. public GTextField m_txtCdTime;
  25. public GTextField m_txtJoinNum;
  26. public GList m_listJoin;
  27. public GList m_listChat;
  28. public GTextInput m_txtChat;
  29. public GButton m_btnSend;
  30. public const string URL = "ui://tw70qm9dpvb453";
  31. public const string PACKAGE_NAME = "League";
  32. public const string RES_NAME = "LeagueAnsweringUI";
  33. private static UI_LeagueAnsweringUI _proxy;
  34. public static UI_LeagueAnsweringUI Create(GObject gObject = null)
  35. {
  36. var ui = new UI_LeagueAnsweringUI();
  37. if(gObject == null)
  38. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  39. else
  40. ui.target = (GComponent)gObject;
  41. ui.Init(ui.target);
  42. return ui;
  43. }
  44. public static UI_LeagueAnsweringUI Proxy(GObject gObject = null)
  45. {
  46. if(_proxy == null)
  47. {
  48. _proxy = new UI_LeagueAnsweringUI();
  49. }
  50. var ui = _proxy;
  51. if(gObject == null)
  52. ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
  53. else
  54. ui.target = (GComponent)gObject;
  55. ui.Init(ui.target);
  56. return ui;
  57. }
  58. public static void ProxyEnd()
  59. {
  60. if (_proxy != null)
  61. {
  62. _proxy.Dispose();
  63. }
  64. }
  65. public static void ClearProxy()
  66. {
  67. ProxyEnd();
  68. _proxy = null;
  69. }
  70. private void Init(GComponent comp)
  71. {
  72. m_c1 = comp.GetController("c1");
  73. m_c2 = comp.GetController("c2");
  74. m_loaBg = (GLoader)comp.GetChild("loaBg");
  75. m_btnBack = (GButton)comp.GetChild("btnBack");
  76. m_txtTime = (GTextField)comp.GetChild("txtTime");
  77. m_btnRule = (GButton)comp.GetChild("btnRule");
  78. m_txtRightCount = (GTextField)comp.GetChild("txtRightCount");
  79. m_txtAnswerTime = (GTextField)comp.GetChild("txtAnswerTime");
  80. m_txtAnswerNum = (GTextField)comp.GetChild("txtAnswerNum");
  81. m_loaIocn = (GLoader)comp.GetChild("loaIocn");
  82. m_txtContent = (GTextField)comp.GetChild("txtContent");
  83. m_listResult = (GList)comp.GetChild("listResult");
  84. m_txtResult = (GTextInput)comp.GetChild("txtResult");
  85. m_comRightHead = (GComponent)comp.GetChild("comRightHead");
  86. m_imgFail = (GImage)comp.GetChild("imgFail");
  87. m_txtInfo = (GTextField)comp.GetChild("txtInfo");
  88. m_txtCdTime = (GTextField)comp.GetChild("txtCdTime");
  89. m_txtJoinNum = (GTextField)comp.GetChild("txtJoinNum");
  90. m_listJoin = (GList)comp.GetChild("listJoin");
  91. m_listChat = (GList)comp.GetChild("listChat");
  92. m_txtChat = (GTextInput)comp.GetChild("txtChat");
  93. m_btnSend = (GButton)comp.GetChild("btnSend");
  94. }
  95. public void Dispose(bool disposeTarget = false)
  96. {
  97. m_c1 = null;
  98. m_c2 = null;
  99. m_loaBg = null;
  100. m_btnBack = null;
  101. m_txtTime = null;
  102. m_btnRule = null;
  103. m_txtRightCount = null;
  104. m_txtAnswerTime = null;
  105. m_txtAnswerNum = null;
  106. m_loaIocn = null;
  107. m_txtContent = null;
  108. m_listResult = null;
  109. m_txtResult = null;
  110. m_comRightHead = null;
  111. m_imgFail = null;
  112. m_txtInfo = null;
  113. m_txtCdTime = null;
  114. m_txtJoinNum = null;
  115. m_listJoin = null;
  116. m_listChat = null;
  117. m_txtChat = null;
  118. m_btnSend = null;
  119. if(disposeTarget && target != null)
  120. {
  121. target.RemoveFromParent();
  122. target.Dispose();
  123. }
  124. target = null;
  125. }
  126. }
  127. }