引导 基本完成

This commit is contained in:
panw
2025-08-25 17:28:02 +08:00
parent 6a29821a7b
commit 6c95b3acc3
17 changed files with 1085 additions and 508 deletions

View File

@@ -4,6 +4,7 @@ import { oops } from 'db://oops-framework/core/Oops';
import { HCardUICom } from './HCardUICom';
import { HeroConSet } from '../common/config/BoxSet';
import { getHeroList } from '../common/config/heroSet';
import { finishCurrGuide, startGuide } from '../common/config/Guide';
const { ccclass, property } = _decorator;
@ccclass('HeroPageComp')
@@ -14,6 +15,11 @@ export class HeroPageComp extends Component {
update(deltaTime: number) {
}
onEnable(){
this.update_heros()
startGuide(3)
}
update_heros(){
let heros=getHeroList()