PGRData/Script/matrix/xui/xuiexpedition/battle/XUiExpeditionInfinityCombo.lua

19 lines
578 B
Lua
Raw Permalink Normal View History

-- 虚像地平线无尽关结算界面羁绊控件
local XUiExpeditionInfinityCombo = XClass(nil, "XUiExpeditionInfinityCombo")
function XUiExpeditionInfinityCombo:Ctor()
end
function XUiExpeditionInfinityCombo:Init(ui)
XTool.InitUiObjectByUi(self, ui)
end
function XUiExpeditionInfinityCombo:RefreshData(eCombo)
self.RImgActive:SetRawImage(eCombo:GetIconPath())
local isDefault = eCombo:CheckIsDefaultCombo()
self.BgDefault.gameObject:SetActiveEx(isDefault)
self.BgNormal.gameObject:SetActiveEx(not isDefault)
end
return XUiExpeditionInfinityCombo