mirror of
https://github.com/wyb10a10/cocos_creator_framework.git
synced 2026-06-20 20:46:23 +08:00
22 lines
418 B
TypeScript
22 lines
418 B
TypeScript
import { UIView } from "../../ui/UIView";
|
|
import { uiManager } from "../../ui/UIManager";
|
|
import { UIID } from "../UIExample";
|
|
|
|
const {ccclass, property} = cc._decorator;
|
|
|
|
@ccclass
|
|
export default class UIHall extends UIView {
|
|
|
|
public onBag() {
|
|
uiManager.open(UIID.UIBag);
|
|
}
|
|
|
|
public onNotice() {
|
|
uiManager.open(UIID.UINotice);
|
|
}
|
|
|
|
public onTop(preID: number, item: number) {
|
|
|
|
}
|
|
}
|