Ship the WeChat hot-update catalogs and the camp, TideWhale T2, UI atlas, and animation-lab work.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-10-24 18:04:41 +08:00
co-authored by Cursor
parent 6ebc9401ce
commit 45e62132c8
1432 changed files with 2971856 additions and 2798 deletions
@@ -15,6 +15,7 @@ namespace HotUpdate.UI
readonly Dictionary<string, GameObject> _opened = new Dictionary<string, GameObject>(StringComparer.Ordinal);
Transform _root;
UiPrefabLoader _loader;
public UiAtlasLoader Atlases { get; private set; }
readonly HashSet<string> _loading = new HashSet<string>(StringComparer.Ordinal);
public string Theme { get; private set; } = UiThemeCatalog.Candy;
@@ -23,6 +24,9 @@ namespace HotUpdate.UI
Instance = this;
_root = root;
_loader = loader ?? new UiPrefabLoader();
Atlases = GetComponent<UiAtlasLoader>();
if (Atlases == null) Atlases = gameObject.AddComponent<UiAtlasLoader>();
Atlases.Init(_loader.PreferredPackage);
Theme = UiThemeCatalog.Normalize(theme);
}
@@ -62,6 +66,7 @@ namespace HotUpdate.UI
if (siblingIndex >= 0)
go.transform.SetSiblingIndex(siblingIndex);
_opened[prefabName] = go;
yield return Atlases.WaitForPending();
onOpened?.Invoke(go);
}