引导 基本完成
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user