private void InitHUD() { HUDController.Ctx hudCtx = new HUDController.Ctx { playersData = _ctx.playerData, analitics = _ctx.analitics, }; _rootView.HUD.SetCtx(hudCtx); }
private void HUDInit() { HUDController.Ctx hudCtx = new HUDController.Ctx { signHit = _signPosition.SignPositon, crosshairSize = _config.crosshairSize, canShoot = _tank.CheckCanShoot, }; _hud.SetCtx(hudCtx); }