提交配置表

This commit is contained in:
PC-20230316NUNE\Administrator
2023-11-21 18:52:01 +08:00
parent 074cfbd5bd
commit 5ab90ea221
525 changed files with 164826 additions and 12 deletions

View File

@@ -5,6 +5,7 @@ import { GUI } from "../UIConfig";
import NoviceManager from "../../manager/NoviceManager";
import { JNGLayerBase } from "../../components/JNComponent";
import { app } from "../../App";
import { lerp } from "cc";
const { ccclass, property } = _decorator;
@ccclass('LoadingView')
@@ -22,7 +23,7 @@ export default class LoadingView extends JNGLayerBase {
update(dt:number){
if(app.loading.getCurrentInfo())
this.label.string = app.loading.getCurrentInfo().title;
this.progress.progress = app.loading.progress();
this.progress.progress = lerp(this.progress.progress,app.loading.progress(),dt);
if(!this.isOk && app.loading.isAllSuccess()){
this.isOk = true;
this.onSuccess();