Class RunSettings
Namespace: Unity.Build.Common
Syntax
public sealed class RunSettings : IBuildComponent
Properties
BatchMode
Gets or sets whether the player will be run in batch mode.
Declaration
[CreateProperty]
public bool BatchMode { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
ExtraArguments
Gets or sets an array of extra arguments passed to the running process.
Declaration
[CreateProperty]
public string[] ExtraArguments { get; set; }
Property Value
| Type | Description |
|---|---|
| String[] |
NoGraphics
Gets or sets whether the player will be run with the "nographics" flag enabled. Requires BatchMode to be enabled.
Declaration
[CreateProperty]
public bool NoGraphics { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
RedirectOutput
Gets or sets whether the player will be configured to make process output (stdout, stderr) available to the API.
Declaration
[CreateProperty]
public bool RedirectOutput { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Stderr
Gets or sets a user callback that can be used to process player stderr, line by line.
Declaration
[CreateProperty]
[HideInInspector]
[DontSerialize]
public ProcessOutputHandler Stderr { get; set; }
Property Value
| Type | Description |
|---|---|
| ProcessOutputHandler |
Stdout
Gets or sets a user callback that can be used to process player stdout, line by line.
Declaration
[CreateProperty]
[HideInInspector]
[DontSerialize]
public ProcessOutputHandler Stdout { get; set; }
Property Value
| Type | Description |
|---|---|
| ProcessOutputHandler |