diff --git a/assets/resources/gui/element/card.prefab b/assets/resources/gui/element/card.prefab index edc59b6b..9222226c 100644 --- a/assets/resources/gui/element/card.prefab +++ b/assets/resources/gui/element/card.prefab @@ -6102,6 +6102,9 @@ }, "Lock": null, "unLock": null, + "call_btn": { + "__id__": 307 + }, "name_node": { "__id__": 257 }, diff --git a/assets/script/game/map/CardComp.ts b/assets/script/game/map/CardComp.ts index b1adb252..5195956c 100644 --- a/assets/script/game/map/CardComp.ts +++ b/assets/script/game/map/CardComp.ts @@ -62,6 +62,9 @@ export class CardComp extends CCComp { /** 解锁态图标节点(显示时表示本槽位未锁定,可点击上锁) */ @property(Node) unLock: Node = null! + + @property(Node) + call_btn: Node = null! /** 英雄卡信息面板(显示 AP / HP) 废弃,改用直接绑定 */ // @property(Node) // info_node=null!