feat: add L_LuaDemo scene and verify UnLua Tick, input, and hot-reload

This commit is contained in:
szy73711 committed 2026-11-28 15:48:35 +08:00
1 parent 943af16954
commit 256a60ac80
13 files changed
+670 -18

No files matched your search

+9 -1
View File
@@ -4,7 +4,15 @@ local M = UnLua.Class()
local Log = require("Framework.Log")
function M:ReceiveBeginPlay()
Log.Info("LuaGameMode:ReceiveBeginPlay()")
Log.Info("LuaGameMode:ReceiveBeginPlay() - Demo scene started")
UE.UKismetSystemLibrary.PrintString(
self,
"[UnLua Demo] LuaGameMode initialized!",
true,
true,
UE.FLinearColor(0.3, 0.85, 1.0, 1.0),
5.0
)
end
function M:ReceiveEndPlay(EndPlayReason)