了解 move 用法

This commit is contained in:
pan@work
2024-08-30 17:09:48 +08:00
parent 4c16b6cb51
commit ea67f9434f
12 changed files with 360 additions and 237 deletions

View File

@@ -32,7 +32,8 @@ export class MapViewComp extends CCComp {
this.addHero(args.uuid)
}
reset(): void {
//撤销监听
// oops.message.off("do_add_hero", this.on_do_add_hero, this);
}
start() {
@@ -45,6 +46,7 @@ export class MapViewComp extends CCComp {
let pos = v3(BoxSet.HERO_START-50,BoxSet.GAME_LINE)
role.load(pos,108,"Character07")
smc.Role=role
}
load_data(){
// let heros = oops.res.get("config/game/heros")