feat(ui): 新增通知组件和配置
添加 Notity UI 组件,包括 TypeScript 脚本、预制体和 UI 配置,用于在游戏中显示通知信息。
This commit is contained in:
19
assets/script/game/common/Notity.ts
Normal file
19
assets/script/game/common/Notity.ts
Normal 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) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user