2026-11-28 01:45:03 +08:00
|
|
|
local Log = require("Framework.Log")
|
2026-11-29 03:08:03 +08:00
|
|
|
local LuaCharacter = UnLua.Class()
|
|
|
|
|
function LuaCharacter.ReceiveBeginPlay(self)
|
2026-11-28 01:45:03 +08:00
|
|
|
Log.Info("LuaCharacter:ReceiveBeginPlay()")
|
|
|
|
|
end
|
2026-11-29 03:08:03 +08:00
|
|
|
function LuaCharacter.ReceiveEndPlay(self, EndPlayReason)
|
|
|
|
|
Log.Info(
|
|
|
|
|
"LuaCharacter:ReceiveEndPlay(reason=%s)",
|
|
|
|
|
tostring(EndPlayReason)
|
|
|
|
|
)
|
2026-11-28 01:45:03 +08:00
|
|
|
end
|
2026-11-29 03:08:03 +08:00
|
|
|
return LuaCharacter
|