feat: add L_LuaDemo scene and verify UnLua Tick, input, and hot-reload
This commit is contained in:
1 parent
943af16954
commit
256a60ac80
13 files changed
+670
-18
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user