This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-11-10 03:56:07 +08:00
parent 9157e123b6
commit 620bcd3e53
36 changed files with 3246 additions and 32 deletions

View File

@@ -3,6 +3,9 @@ import { _decorator } from "cc";
import { JNGLayerBase, app } from "../../App";
import { Label } from "cc";
import { GUI } from "../UIConfig";
import { API } from "../../consts/API";
import { GAction } from "../../consts/GActionEnum";
import NoviceManager from "../Novice/NoviceManager";
const { ccclass, property } = _decorator;
@ccclass('LoadingView')
@@ -29,9 +32,10 @@ export default class LoadingView extends JNGLayerBase {
async onSuccess(){
//打开主页
await app.layer.Open(GUI.Home);
await NoviceManager.getIns().onStart();
//关闭加载页
await app.layer.Open(GUI.Home);
app.layer.Close(GUI.Loading);
}