mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-10-09 16:46:09 +00:00
update
This commit is contained in:
20
JisolGameCocos/assets/script/ui/Novice/NoviceManager.ts
Normal file
20
JisolGameCocos/assets/script/ui/Novice/NoviceManager.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import Singleton from "../../../../extensions/ngame/assets/ngame/util/Singleton";
|
||||
import { app } from "../../App";
|
||||
import { GUI } from "../UIConfig";
|
||||
|
||||
export default class NoviceManager extends Singleton{
|
||||
|
||||
//新手引导执行
|
||||
async onStart(){
|
||||
|
||||
if(!(app.data.getPlayerInfo().novice)){
|
||||
//如果没有过引导则打开引导页面
|
||||
await app.layer.OpenToClose(GUI.NoviceNamingView);
|
||||
}
|
||||
|
||||
console.log("新手引导结束");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user