Land Explorer in HomeCamp with boot loading, journal UI, and CDN publish tooling.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-11-04 16:18:01 +08:00
co-authored by Cursor
parent 9eec364f30
commit 80678ec499
405 changed files with 48053 additions and 420302 deletions
@@ -59,6 +59,16 @@ namespace HotUpdate.Gameplay
_hud.OnReconnectClicked += () => _net?.RequestReconnect();
_hud.OnHomeActionClicked += ShowHomeFeature;
}
// Reveal the HUD after its camp is ready, avoiding a brief illustrated fallback.
var camp = hudGo.GetComponentInChildren<HomeCampPresenter>(true);
float campDeadline = Time.realtimeSinceStartup + 90f;
while (camp != null && camp.Loading && Time.realtimeSinceStartup < campDeadline)
yield return null;
if (camp != null && camp.Loading)
{
if (_ctx != null) _ctx.MainUiError = "营地加载超时,请重新进入游戏";
yield break;
}
if (_ctx != null) _ctx.MainUiReady = true;
Debug.Log("[UI] Main HUD ready");
@@ -143,7 +153,9 @@ namespace HotUpdate.Gameplay
case "Rank": title = "冒险排行"; break;
case "Friends": title = "好友"; break;
case "Mail": title = "小镇邮件"; break;
case "Rewards": title = "宝箱奖励"; break;
case "Fountain": case "Rewards": title = "宝箱奖励"; break;
case "MainHouse": case "Camp": title = "营地大厅"; break;
case "Stall": title = "集市货摊"; break;
case "Bag": title = "背包"; break;
case "Adventure": case "Battle": title = "开始冒险"; break;
case "Shop": title = "小镇商店"; break;