unity.py¶
Unity sample script
usage: unity.py [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}] [-c CLUSTER_ID]
{build-cloud,load,env,upload-images,unload,build} ...
Positional Arguments¶
command | Possible choices: build-cloud, load, env, upload-images, unload, build |
Named Arguments¶
--loglevel | Possible choices: DEBUG, INFO, WARNING, ERROR Set the script log level |
-c, --cluster_id | |
The cluster id. Default local |
Sub-commands:¶
build-cloud¶
Build the specified target for the cloud
unity.py build-cloud [-h] [-d] [-b] [-g GAME_DIR] [targets [targets ...]]
Positional Arguments¶
targets | The targets to build |
Named Arguments¶
-d, --debug | Build the game in debug Default: False |
-b, --bit32 | Build the game in 32bit Default: False |
-g, --game-dir | The game directory (relative to the current directory) (default: “app”) Default: “app” |
load¶
Load the specified target definition in the cloud
unity.py load [-h] [targets [targets ...]]
Positional Arguments¶
targets | The targets to build |
upload-images¶
Upload tutorial images to the cloud
unity.py upload-images [-h] [targets [targets ...]]
Positional Arguments¶
targets | The targets to upload |
unload¶
Unload the specified target definition in the cloud
unity.py unload [-h] [targets [targets ...]]
Positional Arguments¶
targets | The targets to build |
build¶
Build the specified target
unity.py build [-h] [-d] [-b] [-g GAME_DIR] [targets [targets ...]]
Positional Arguments¶
targets | The targets to build |
Named Arguments¶
-d, --debug | Build the game in debug Default: False |
-b, --bit32 | Build the game in 32bit Default: False |
-g, --game-dir | The game directory (relative to the current directory) (default: “app”) Default: “app” |