Пример #1
0
 public GamePlayUI(GamePlayContext context)
 {
     _Context            = context;
     _PlayerGestureInput = new PlayerGestureInput();
     _InGameUI           = UGUITools.AddUI <MonoInGameUI>(MonoInGameUI.PATH);
     _InGameUI.Regist(_PlayerGestureInput);
     _PlayerGestureInput.Regist(_Context);
 }
Пример #2
0
 private void HeartBeatStart()
 {
     _Ping          = new CommonPing(GlobalConfig.GetGlobalParam().PingGap);
     _NetworkInfoUI = UGUITools.AddUI <MonoNetworkInfoUI>(MonoNetworkInfoUI.Path);
 }