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 · Tencent/UnLua · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
Tencent
/
UnLua
Public
Notifications
You must be signed in to change notification settings
Fork
723
Star
2.8k
Code
Issues
164
Pull requests
23
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
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
25 lines (18 loc) · 526 Bytes
Breadcrumbs
UnLua
/
Content
/
Script
/
Tutorials
/
09_StaticExport.lua
Copy path
File metadata and controls
25 lines (18 loc) · 526 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
--[[
说明:
本示例C++源码:
\Source\TPSProject\TutorialObject.cpp
]]
--
local
Screen
=
require
"
Tutorials.Screen
"
local
M
=
UnLua
.
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