UI系统优化

This commit is contained in:
2026-05-25 11:54:37 +08:00
parent c7057db27d
commit 3c812cfb41
130 changed files with 4738 additions and 477 deletions

View File

@@ -25,6 +25,12 @@ namespace BaseGames.UI
/// </summary>
string GetActionEffectivePath(string actionName);
/// <summary>
/// 根据固定绑定路径(如 "&lt;Keyboard&gt;/space")在当前图标集中查找图标。
/// 不受改键影响,适合装饰性按键说明。找不到时返回 null。
/// </summary>
Sprite GetPathIcon(string bindingPath);
/// <summary>
/// 当设备切换或玩家改键后触发。
/// 订阅此事件的 UI 组件应在回调中刷新图标显示。