forked from Tencent/UnLua
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path09_StaticExport.lua
More file actions
Latest commit
25 lines (18 loc) · 526 Bytes
/
Copy path09_StaticExport.lua
File metadata and controls
25 lines (18 loc) · 526 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--[[
说明:
本示例C++源码:
\Source\TPSProject\TutorialObject.cpp
]]--
localScreen=require"Tutorials.Screen"
localM=UnLua.Class()
functionM:ReceiveBeginPlay()
localmsg=
[[
—— 本示例来自 "Content/Script/Tutorials.09_StaticExport.lua"
]]
Screen.Print(msg)
localtutorial=UE.FTutorialObject("教程")
msg=string.format("tutorial -> %s\n\ntutorial:GetTitle() -> %s", tostring(tutorial), tutorial:GetTitle())
Screen.Print(msg)
end
returnM