Files
JJBB/Assets/Project/Script/LuaScripts/BugFix/LuaYBShop.txt

13 lines
299 B
Plaintext
Raw Permalink Normal View History

2024-08-23 15:49:34 +08:00
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