mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 12:05:59 +02:00
godot: update the --export
example (#3895)
This also adds more information about the `-s` switch's requirements.
This commit is contained in:
parent
454fe1cfbb
commit
236ba09423
1 changed files with 3 additions and 3 deletions
|
@ -15,10 +15,10 @@
|
||||||
|
|
||||||
`godot -p`
|
`godot -p`
|
||||||
|
|
||||||
- Export a project for a given target (the target must be defined in the project):
|
- Export a project for a given export preset (the preset must be defined in the project):
|
||||||
|
|
||||||
`godot --export {{target}}`
|
`godot --export {{preset}} {{output_path}}`
|
||||||
|
|
||||||
- Execute a standalone GDScript file:
|
- Execute a standalone GDScript file (the script must inherit from `SceneTree` or `MainLoop`):
|
||||||
|
|
||||||
`godot -s {{script.gd}}`
|
`godot -s {{script.gd}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue