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