Files
UnrealLuaDemo/Script/lua/Game/LuaCharacter.lua
T

13 lines
353 B
Lua

local Log = require("Framework.Log")
local LuaCharacter = UnLua.Class()
function LuaCharacter.ReceiveBeginPlay(self)
Log.Info("LuaCharacter:ReceiveBeginPlay()")
end
function LuaCharacter.ReceiveEndPlay(self, EndPlayReason)
Log.Info(
"LuaCharacter:ReceiveEndPlay(reason=%s)",
tostring(EndPlayReason)
)
end
return LuaCharacter