了解 move 用法
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user