Files
StellaSora_DataLua/lua/game/ui/activitytheme/10102/task/dreamtaskpanel.lua
T
SL1900 7363298dc1 Update - 1.15.0.134
EN: 1.15.0.134
CN: 1.15.0.133
JP: 1.15.0.137
KR: 1.15.0.139
2026-09-08 12:00:00 +09:00

17 lines
493 B
Lua

local DreamTaskPanel = class("DreamTaskPanel", BasePanel)
DreamTaskPanel._sUIResRootPath = "UI_Activity/"
DreamTaskPanel._tbDefine = {
{
sPrefabPath = "10102/Task.prefab",
sCtrlName = "Game.UI.ActivityTheme.TaskCommon.TaskCommonCtrl_01"
}
}
local tbImgDbType = {SizeDelta = 1, FillAmount = 2}
function DreamTaskPanel:Awake()
local tbParam = self:GetPanelParam()
if type(tbParam) == "table" and tbParam[3] == nil then
tbParam[3] = tbImgDbType.SizeDelta
end
end
return DreamTaskPanel