UGCProjects/FX_Preview/Script/Blueprint/UGCPlayerController.lua
2025-02-03 23:08:27 +08:00

40 lines
921 B
Lua

---@class UGCPlayerController_C:BP_UGCPlayerController_C
--Edit Below--
local UGCPlayerController = {}
function UGCPlayerController:ReceiveBeginPlay()
UGCPlayerController.SuperClass.ReceiveBeginPlay(self)
if UGCGameSystem.IsServer() then
else
local PreviewFxWidget = UserWidget.NewWidgetObjectBP(self, UE.LoadClass(UGCGameSystem.GetUGCResourcesFullPath('Asset/UI/PreviewFX/WB_FX_Main.WB_FX_Main_C')));
PreviewFxWidget:AddToViewport(20000)
end
end
--[[
function UGCPlayerController:ReceiveTick(DeltaTime)
UGCPlayerController.SuperClass.ReceiveTick(self, DeltaTime)
end
--]]
--[[
function UGCPlayerController:ReceiveEndPlay()
UGCPlayerController.SuperClass.ReceiveEndPlay(self)
end
--]]
--[[
function UGCPlayerController:GetReplicatedProperties()
return
end
--]]
--[[
function UGCPlayerController:GetAvailableServerRPCs()
return
end
--]]
return UGCPlayerController