|
@@ -0,0 +1,64 @@
|
|
|
+using ET;
|
|
|
+using FairyGUI;
|
|
|
+using UI.League;
|
|
|
+using UnityEngine;
|
|
|
+
|
|
|
+namespace GFGGame
|
|
|
+{
|
|
|
+ //联盟答题中
|
|
|
+ public class LeagueAnsweringView : BaseWindow
|
|
|
+ {
|
|
|
+ private UI_LeagueAnsweringUI _ui;
|
|
|
+
|
|
|
+ public override void Dispose()
|
|
|
+ {
|
|
|
+ if (_ui != null)
|
|
|
+ {
|
|
|
+ _ui.Dispose();
|
|
|
+ _ui = null;
|
|
|
+ }
|
|
|
+ base.Dispose();
|
|
|
+ }
|
|
|
+
|
|
|
+ protected override void OnInit()
|
|
|
+ {
|
|
|
+ base.OnInit();
|
|
|
+ packageName = UI_LeagueAnsweringUI.PACKAGE_NAME;
|
|
|
+ _ui = UI_LeagueAnsweringUI.Create();
|
|
|
+ this.viewCom = _ui.target;
|
|
|
+ isfullScreen = true;
|
|
|
+
|
|
|
+ _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("lm_beijing");
|
|
|
+ _ui.m_btnBack.onClick.Add(OnBtnBackClick);
|
|
|
+
|
|
|
+ }
|
|
|
+ protected override void AddEventListener()
|
|
|
+ {
|
|
|
+ base.AddEventListener();
|
|
|
+
|
|
|
+ }
|
|
|
+ protected override void OnShown()
|
|
|
+ {
|
|
|
+ base.OnShown();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ protected override void OnHide()
|
|
|
+ {
|
|
|
+ base.OnHide();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ protected override void RemoveEventListener()
|
|
|
+ {
|
|
|
+ base.RemoveEventListener();
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ private void OnBtnBackClick()
|
|
|
+ {
|
|
|
+ ViewManager.GoBackFrom(typeof(LeagueAnsweringView).FullName);
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+}
|