装备添加

This commit is contained in:
2025-06-08 23:16:40 +08:00
parent 63f4d1067e
commit 094b55f349
50 changed files with 20810 additions and 62152 deletions

View File

@@ -22,24 +22,13 @@ export default class SkillLayer extends Component {
@property(Prefab)
light: Prefab = null;
onLoad(){
oops.message.on("monster_load", this.doMonsterLoad, this);
oops.message.on("hero_load", this.doHeroLoad, this);
oops.message.on("do_use_skill", this.doSkill, this);
// oops.message.on("do_use_skill", this.doSkill, this);
}
doSkill(){
// console.log("doSkill")
}
doMonsterLoad(){
// const light = instantiate(this.light);
// light.setPosition(300,-30,0);
// this.node.addChild(light);
}
doHeroLoad(){
// const light = instantiate(this.light);
// light.setPosition(BoxSet.HERO_START,BoxSet.GAME_LINE,0);
// this.node.addChild(light);
}
update(dt: number) {
// this.timer.update(dt)
// if (this.timer.update(dt))