FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
UnLua/Content/Script/Tutorials/09_StaticExport.lua at master · dsz0/UnLua · GitHub
This repository was archived by the owner on Aug 8, 2026. It is now read-only.
dsz0
/
UnLua
Public archive
forked from
Tencent/UnLua
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
UnLua
/
Content
/
Script
/
Tutorials
/
09_StaticExport.lua
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (19 loc) · 537 Bytes
Breadcrumbs
UnLua
/
Content
/
Script
/
Tutorials
/
09_StaticExport.lua
Copy path
File metadata and controls
27 lines (19 loc) · 537 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
26
27
--[[
说明:
本示例C++源码:
\Source\TPSProject\TutorialObject.cpp
]]
--
require
"
UnLua
"
local
Screen
=
require
"
Tutorials.Screen
"
local
M
=
Class
()
function
M
:
ReceiveBeginPlay
()
local
msg
=
[[
—— 本示例来自 "Content/Script/Tutorials.09_StaticExport.lua"
]]
Screen
.
Print
(
msg
)
local
tutorial
=
UE
.
FTutorialObject
(
"
教程
"
)
msg
=
string.format
(
"
tutorial -> %s
\n\n
tutorial:GetTitle() -> %s
"
,
tostring
(
tutorial
),
tutorial
:
GetTitle
())
Screen
.
Print
(
msg
)
end
return
M
Back
|
FazBrowse Home
|
New Git URL