Add prototype gameplay loop with character/battlefield assets and server game APIs.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user