PGRData/Resources/Scripts/XUi/XUiFavorability/XUiGridLineCharacter.lua

18 lines
549 B
Lua
Raw Normal View History

2022-12-26 08:36:01 +00:00
local XUiGridLikeRoleItem = require("XUi/XUiFavorability/XUiGridLikeRoleItem")
XUiGridLineCharacter = XClass(XUiGridLikeRoleItem, "XUiGridLineCharacter")
function XUiGridLineCharacter:Ctor(ui)
self.GameObject = ui.gameObject
self.Transform = ui.transform
XTool.InitUiObject(self)
end
function XUiGridLineCharacter:RefreshAssist()
self.ImgAssist.gameObject:SetActive(XDataCenter.DisplayManager.GetDisplayChar().Id == self.CharacterData.Id)
end
function XUiGridLineCharacter:IsRed()
return false
end
return XUiGridLineCharacter