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