Files
Pizza/assets/scripts/scene/LoadingScene.ts
wuguiyu 1512bf46d1 初始化工程
基础玩法代码
修复回收对象池回收后还出现在手上
顾客移动速度
引导箭头
收银员触发发放披萨圈
pizza机的Max
主角Max
顾客吃完留钞票
顾客优先拼桌
顾客就餐位置
完善地块解锁(解锁图标宽高不对)
2026-03-03 11:58:26 +08:00

27 lines
618 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { _decorator, Node } from "cc";
import BaseScene from "../base/app/mamager/preset/sceneMgr/BaseScene";
import LoadingView from "../module/common/loading/view/LoadingView";
const { ccclass, property } = _decorator;
@ccclass
export default class LoadingScene extends BaseScene {
@property(Node)
loadingView: Node = null;
async open(...params: any[]) {
// 不同场景导入不同的sdk来实现出不同包
let loadingViewComp = this.loadingView.getComponent(LoadingView)
if(loadingViewComp){
loadingViewComp.open()
}
}
close() {
}
}