云环境和本地调试 添加
This commit is contained in:
@@ -38,9 +38,9 @@ export class HeroPageComp extends Component {
|
||||
console.error("[Skill] 预制体加载失败:", path);
|
||||
return;
|
||||
}
|
||||
const node = instantiate(prefab);
|
||||
node.parent=parent
|
||||
let hcard=node.getComponent(HCardUICom)!
|
||||
const node = instantiate(prefab) as unknown as Node;
|
||||
node.parent = parent;
|
||||
let hcard = node.getComponent(HCardUICom)!;
|
||||
hcard.update_data(uuid,{type:HeroConSet.INFO})
|
||||
}
|
||||
clear_heros(){
|
||||
|
||||
Reference in New Issue
Block a user