13 lines
299 B
Plaintext
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
|
||
|
|