public GamePlayUI(GamePlayContext context) { _Context = context; _PlayerGestureInput = new PlayerGestureInput(); _InGameUI = UGUITools.AddUI <MonoInGameUI>(MonoInGameUI.PATH); _InGameUI.Regist(_PlayerGestureInput); _PlayerGestureInput.Regist(_Context); }
private void HeartBeatStart() { _Ping = new CommonPing(GlobalConfig.GetGlobalParam().PingGap); _NetworkInfoUI = UGUITools.AddUI <MonoNetworkInfoUI>(MonoNetworkInfoUI.Path); }