123456789101112131415161718192021222324252627282930313233343536 |
- /// #pkgName FGUI包名
- /// #prefabName ui预制名字
- /// #viewName uiview名字
- /// #UIName ui的名字,prefabName首字母转大写
- /// 该脚本由模板创建,不可修改
- /// created by chenwb 2024
- import { FguiView, ViewType } from "../../../../frameWork/fgui/mvc/FguiView";
- import { FguiViewModel } from "../../../../frameWork/fgui/mvc/FguiViewModel";
- import { IUIController } from "../../../../frameWork/fgui/mvc/IUIController";
- import { ShowTipsCtrl } from "./ShowTipsCtrl";
- import { ShowTipsVM } from "./ShowTipsVM";
- export class ShowTipsView extends FguiView {
- /**
- * fgui的包名
- */
- protected static pkgName = "Common";
- /**
- * fgui包内的UI名字
- */
- protected static prefabName = "ShowTips";
- /**
- * 类名,用于给UI命名
- */
- protected static viewName = "ShowTipsView";
- public viewType: ViewType = ViewType.Part;
- protected createVM(panel: fgui.GComponent): FguiViewModel {
- return new ShowTipsVM(panel);
- }
- protected CreateCtrl(): IUIController {
- return new ShowTipsCtrl();
- }
- }
|