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

@@ -0,0 +1,19 @@
import { _decorator, Component, Label, Node } from 'cc';
const { ccclass, property } = _decorator;
@ccclass('Notity')
export class Notity extends Component {
@property(Label)
private lab_content: Label = null!;
start() {
}
update(deltaTime: number) {
}
}