UI_LeagueAnsweringUI.cs 4.9 KB

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