-
Notifications
You must be signed in to change notification settings - Fork 29
Command Line Options
Simon edited this page Aug 12, 2020
·
8 revisions
The following command line options can be used with the UniCAVE plugin. See all of Unity's available command line options here.
Parameter | Description | Valid Options | Example |
---|---|---|---|
overrideMachineName |
Launch your application as if it was running with a certain machine name. | Any string | overrideMachineName MY_HEAD_MACHINE |
appendMachineName |
Launch your application as if it was running with a string appended to its machine name (useful if you have two instances of Unity running on the same machine but want a different display for each of them). | Any string | appendMachineName _left |
eye |
Which eye a certain instance of your application should render (useful if you have one instance of Unity running per eye). |
left , center , right
|
eye right |
serverAddress |
(Valid only for NetworkInitialization scripts) What network address the server should start on or connect to. |
Any IPV4 | serverAddress 192.168.5.8 |
serverPort |
(Valid only for NetworkInitialization scripts) What port the server should start on or connect to. |
Any integer ∈[1,65535] | serverPort 1234 |
-screen-fullscreen |
Whether to launch the application in exclusive fullscreen mode. |
0 , 1
|
-screen-fullscreen 0 |
-popupWindow |
Whether to launch the application without borders. | None | -popupWindow |
-show-screen-selector |
Whether to launch the screen selector window (enabled by default, can be disabled in Edit->Project Settings->Player->Resolution and Presentation->Display Resolution Dialog). | None | -show-screen-selector |
-screen-width |
Width of the window (may be overridden at runtime by PhysicalDisplay ). |
Positive, nonzero integers | -screen-width 1280 |
-screen-height |
Height of the window (may be overridden at runtime by PhysicalDisplay ). |
Positive, nonzero integers | -screen-width 720 |