Files
UnrealLuaDemo/Content/Script/Game/LuaPlayerController.lua
T

15 lines
324 B
Lua

---@type LuaPlayerController
local M = UnLua.Class()
local Log = require("Framework.Log")
function M:ReceiveBeginPlay()
Log.Info("LuaPlayerController:ReceiveBeginPlay()")
end
function M:ReceiveEndPlay(EndPlayReason)
Log.Info("LuaPlayerController:ReceiveEndPlay(reason=%s)", tostring(EndPlayReason))
end
return M