Files
JJBB/Assets/Project/Script/LuaScripts/BugFix/LuaYBShop.txt
2024-08-23 15:49:34 +08:00

13 lines
299 B
Plaintext

LuaYBShop = {}
function LuaYBShop:OnEnable()
local ybShop = ybShopGO:GetComponent('YuanBaoShopLogic')
ybShop:InitChargeInfo()
end
function LuaYBShop:Update()
local ybShop = ybShopGO:GetComponent('YuanBaoShopLogic')
ybShop.UIContainerCharge.transform.parent.gameObject:SetActive(true);
end