UGCProjects/GZJ/Script/UI/WBP_ActiveMonsterTalk.lua
2025-01-08 22:46:12 +08:00

29 lines
588 B
Lua

---@class WBP_ActiveMonsterTalk_C:ObjectPositionWidget
---@field TextBlock_Talk UTextBlock
--Edit Below--
local WBP_ActiveMonsterTalk = { bInitDoOnce = false; };
--[==[ Construct
function WBP_ActiveMonsterTalk:Construct()
end
-- Construct ]==]
-- function WBP_ActiveMonsterTalk:Tick(MyGeometry, InDeltaTime)
-- end
-- function WBP_ActiveMonsterTalk:Destruct()
-- end
function WBP_ActiveMonsterTalk:SetTalkText(InType)
local Talk = MonsterTalkContent[InType]
if Talk == nil then
return
else
self.TextBlock_Talk:SetText(Talk.Content);
end
end
return WBP_ActiveMonsterTalk;