This commit is contained in:
pan
2024-08-20 18:27:34 +08:00
parent 87a445c225
commit b9edfd7001
17 changed files with 407 additions and 143 deletions

View File

@@ -79,7 +79,7 @@ export class CardControllerComp extends CCComp {
lists.forEach(element => {
let card = ecs.getEntity<HeroCard>(HeroCard);
let pos = v3(x,y)
card.load(pos,element[0],cards_node,1);
card.load(pos,element[0].uuid,cards_node,element[0].type);
x=x+142
});
this.in_load = false;