feat(ui): 新增通知组件和配置

添加 Notity UI 组件,包括 TypeScript 脚本、预制体和 UI 配置,用于在游戏中显示通知信息。
This commit is contained in:
walkpan
2026-03-28 13:16:13 +08:00
parent 8006331308
commit 7a3d7dba2f
5 changed files with 784 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ export enum UIID {
Role_Controller,
Victory,
IBox,
Notity,
}
/** 打开界面方式的配置数据 */
@@ -25,4 +26,5 @@ export var UIConfigData: { [key: number]: UIConfig } = {
[UIID.Role_Controller]: { layer: LayerType.UI, prefab: "gui/role_controller" },
[UIID.Victory]: { layer: LayerType.UI, prefab: "gui/element/victory" },
[UIID.IBox]: { layer: LayerType.UI, prefab: "gui/element/ibox" },
[UIID.Notity]: { layer: LayerType.UI, prefab: "gui/element/notity" },
}