PGRData/Script/matrix/xui/xuiassign/XUiPanelAssignRoomRoleDetail.lua

13 lines
No EOL
484 B
Lua

local XUiPanelAssignRoomRoleDetail = XClass(nil, "XUiPanelAssignRoomRoleDetail")
function XUiPanelAssignRoomRoleDetail:Ctor(ui)
XUiHelper.InitUiClass(self, ui)
self.BtnTeamPrefab.gameObject:SetActiveEx(false)
end
function XUiPanelAssignRoomRoleDetail:SetData(ablityRequire, order)
self.TxtRequireAbility.text = ablityRequire and ablityRequire or ""
self.TxtEchelonName.text = CS.XTextManager.GetText("AssignTeamTitle", order)
end
return XUiPanelAssignRoomRoleDetail