45 lines
913 B
Lua
45 lines
913 B
Lua
---@class BP_SceneTextTip_C:AActor
|
|
---@field CustomWidget UCustomWidgetComponent
|
|
---@field DefaultSceneRoot USceneComponent
|
|
---@field TipText FString
|
|
--Edit Below--
|
|
local BP_SceneTextTip = {};
|
|
|
|
|
|
function BP_SceneTextTip:ReceiveBeginPlay()
|
|
self.SuperClass.ReceiveBeginPlay(self);
|
|
if not UGCGameSystem.IsServer() then
|
|
local Widget = self.CustomWidget:GetUserWidgetObject()
|
|
if Widget then
|
|
Widget:SetText(self.TipText)
|
|
self.CustomWidget:RequestRedraw()
|
|
end
|
|
end
|
|
end
|
|
|
|
|
|
--[[
|
|
function BP_SceneTextTip:ReceiveTick(DeltaTime)
|
|
self.SuperClass.ReceiveTick(self, DeltaTime);
|
|
end
|
|
--]]
|
|
|
|
--[[
|
|
function BP_SceneTextTip:ReceiveEndPlay()
|
|
self.SuperClass.ReceiveEndPlay(self);
|
|
end
|
|
--]]
|
|
|
|
--[[
|
|
function BP_SceneTextTip:GetReplicatedProperties()
|
|
return
|
|
end
|
|
--]]
|
|
|
|
--[[
|
|
function BP_SceneTextTip:GetAvailableServerRPCs()
|
|
return
|
|
end
|
|
--]]
|
|
|
|
return BP_SceneTextTip; |