FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
UnrealEnginePython/examples/edit_level_blueprint.py at master · VN0/UnrealEnginePython · GitHub
VN0
UnrealEnginePython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
UnrealEnginePython
/
examples
/
edit_level_blueprint.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
8 lines (7 loc) · 306 Bytes
Breadcrumbs
UnrealEnginePython
/
examples
/
edit_level_blueprint.py
Copy path
File metadata and controls
8 lines (7 loc) · 306 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
import
unreal_engine
as
ue
from
unreal_engine
.
structs
import
EdGraphPinType
world
=
ue
.
get_editor_world
()
level_bp
=
world
.
CurrentLevel
.
get_level_script_blueprint
()
pin
=
EdGraphPinType
(
PinCategory
=
'string'
)
ue
.
blueprint_add_member_variable
(
level_bp
,
'TestString'
,
pin
)
ue
.
open_editor_for_asset
(
level_bp
)
Back
|
FazBrowse Home
|
New Git URL