This commit is contained in:
2024-08-23 13:26:26 +08:00
parent 75f0677b88
commit 97875dfe2b
10 changed files with 286 additions and 43 deletions

View File

@@ -43,7 +43,7 @@ export class MapViewComp extends CCComp {
}
load_role(){
let role = ecs.getEntity<Role>(Role);
role.load()
role.load(103)
}
load_data(){
// let heros = oops.res.get("config/game/heros")