Add prototype gameplay loop with character/battlefield assets and server game APIs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-10-20 18:50:00 +08:00
co-authored by Cursor
parent 79369e4473
commit 6c64210331
833 changed files with 998079 additions and 1042 deletions
@@ -0,0 +1,25 @@
using System;
using UnityEngine;
namespace HotUpdate.UI
{
/// <summary>Candy UI;旧启动配置中的其他主题值回退到 Candy。</summary>
public static class UiThemeCatalog
{
public const string Candy = "candy";
public static string Normalize(string theme)
{
if (string.IsNullOrWhiteSpace(theme)) return Candy;
theme = theme.Trim().ToLowerInvariant();
if (theme == Candy) return Candy;
Debug.LogWarning($"[UI] Unknown theme '{theme}', using candy.");
return Candy;
}
public static string Resolve(string logicalName, string theme)
{
return logicalName;
}
}
}