Provides a command line parser and options to set build, player, and other Unity settings when running Unity from the command line
Перейти к файлу
Ryan Hylland ebc853518a Merge pull request #26 from unity/add-wmr-support
Add support for creating WMR loader
2020-10-29 09:47:40 -07:00
.yamato initial commit 2019-08-17 19:57:47 -07:00
Editor Add support for creating WMR loader and settings now that it has a public contructor. 2020-10-06 16:48:21 -07:00
.gitignore initial commit 2019-08-17 19:57:47 -07:00
.gitmodules Removing submodule as this doesn't seem to be pull consistently during package import 2019-09-18 14:05:07 -07:00
.npmignore initial commit 2019-08-17 19:57:47 -07:00
CHANGELOG.md updating docs needed to opensource 2020-02-15 09:29:12 -08:00
CHANGELOG.md.meta need meta files as they are blocked from being created in the package import now. 2019-10-21 10:41:55 -07:00
CONTRIBUTING updating docs needed to opensource 2020-02-15 09:29:12 -08:00
CONTRIBUTING.meta add metadata files for docs 2020-02-19 12:04:02 -08:00
CONTRIBUTIONS.md updating docs needed to opensource 2020-02-15 09:29:12 -08:00
CONTRIBUTIONS.md.meta add metadata files for docs 2020-02-19 12:04:02 -08:00
Editor.meta need meta files as they are blocked from being created in the package import now. 2019-10-21 10:41:55 -07:00
LICENSE.md updating docs needed to opensource 2020-02-15 09:29:12 -08:00
LICENSE.md.meta add metadata files for docs 2020-02-19 12:04:02 -08:00
README.md updates from PR 2019-09-06 13:05:15 -07:00
README.md.meta need meta files as they are blocked from being created in the package import now. 2019-10-21 10:41:55 -07:00
Third Party Notices.md updating docs needed to opensource 2020-02-15 09:29:12 -08:00
Third Party Notices.md.meta add metadata files for docs 2020-02-19 12:04:02 -08:00
package.json add script define for URP to decide how we get MSAA 2020-03-28 22:00:08 -07:00
package.json.meta need meta files as they are blocked from being created in the package import now. 2019-10-21 10:41:55 -07:00

README.md

com.unity.cli-config-manager

Provides a command line parser and options to set editor, build, player, and other Unity settings when running Unity from the command line

Methods

public void ConfigureFromCmdlineArgs()

Parses command line args using args returned from Environment.GetCommandLineArgs() and matches up values based on Options below. Then sets the values to the appropriate build/player settings in the editor. Meant to be run prior to building the player or running a test.

Options

Options Recognized from Environment.GetCommandLineArgs()

-scriptingbackend=<ScriptingBackend>

    IL2CPP is default. Values: IL2CPP, Mono

-simulationmode=<SimulationMode>

    Enable Simulation modes for Windows MR in Editor. Values: HoloLens, WindowsMR, Remoting

-enabledxrtarget=<XrTargetToEnable>

    XR target to enable in player settings. Values: Oculus, OpenVR, cardboard, daydream, MockHMD, OculusXRSDK

-playergraphicsapi=<GraphicsApi>

    Graphics API based on GraphicsDeviceType. Values: Direct3D11, OpenGLES2, OpenGLES3, PlayStation4, XboxOne, Metal, OpenGLCore, Direct3D12, Switch, XboxOneD3D12

-colorspace=<ColorSpace>

    Linear or Gamma color space. Default is Gamma. Values: Linear, Gamma

-stereorenderingpath=<StereoRenderingPath>

    Stereo rendering path to enable. 
            Legacy VR Values: MultiPass, SinglePass, Instancing
            Oculus XR SDK Desktop Values: MultiPass, SinglePassInstanced
            Oculus XR SDK Android Values: MultiPass, MultiView

-mtRendering

    Enable or disable multithreaded rendering. Enabled is default. 
    Append '-' to disable: -mtRendering-

-graphicsJobs

    Enable graphics jobs rendering. Disabled is default. 
    Append '-' to disable: -graphicsJobs-

-minimumandroidsdkversion=

    Minimum Android SDK Version (Integer) to use.

-targetandroidsdkversion=

    Target Android SDK Version (Integer) to use.

-appleDeveloperTeamID=

    Apple Developer Team ID. Use for deployment and running tests on iOS device.

-iOSProvisioningProfileID=

    iOS Provisioning Profile ID. Use for deployment and running tests on iOS device.