UGCProjects/GZJ/Script/UI/WBP_ChallengeText.lua

23 lines
544 B
Lua
Raw Normal View History

2025-01-08 22:46:12 +08:00
---@class WBP_ChallengeText_C:UUserWidget
---@field TextBlock_Challenge UTextBlock
---@field Text FString
--Edit Below--
local WBP_ChallengeText = { bInitDoOnce = false; };
function WBP_ChallengeText:Construct()
self.TextBlock_Challenge:BindingProperty("Text", self.TextBlock_Challenge_Text, self)
end
-- function WBP_ChallengeText:Tick(MyGeometry, InDeltaTime)
-- end
-- function WBP_ChallengeText:Destruct()
-- end
function WBP_ChallengeText:TextBlock_Challenge_Text(ReturnValue)
return self.Text
end
return WBP_ChallengeText;