Class TinyBuildOptions
Information required by the TinyBuildPipeline to build a project.
Inheritance
Inherited Members
Namespace: Unity.Tiny
Syntax
public sealed class TinyBuildOptions
Properties
AutoConnectProfiler
Whether or not the generated build should automatically try to connect to the Unity Profiler over network. This option is not taken into account in Release builds.
Declaration
public bool AutoConnectProfiler { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Configuration
Target build configuration.
Declaration
public TinyBuildConfiguration Configuration { get; set; }
Property Value
| Type | Description |
|---|---|
| TinyBuildConfiguration |
ExportPath
The root export directory path name, defaults to "TinyExport" in the Unity project directory.
Declaration
public string ExportPath { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Platform
Target build platform.
Declaration
public TinyPlatform Platform { get; set; }
Property Value
| Type | Description |
|---|---|
| TinyPlatform |
ProjectSettings
Settings of the project to build.
Declaration
public TinyProjectSettings ProjectSettings { get; }
Property Value
| Type | Description |
|---|---|
| TinyProjectSettings |
Methods
GetArtifactFile(String[])
Get an artifact file combining the array of paths.
Declaration
public FileInfo GetArtifactFile(params string[] paths)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | paths | An array of parts of the path. |
Returns
| Type | Description |
|---|---|
| FileInfo | Fully qualified artifact file. |
GetArtifactFolder(String[])
Get an artifact directory combining the array of paths.
Declaration
public DirectoryInfo GetArtifactFolder(params string[] paths)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | paths | An array of parts of the path. |
Returns
| Type | Description |
|---|---|
| DirectoryInfo | Fully qualified artifact directory. |
GetBuildFile(String[])
Get a build file combining the array of paths.
Declaration
public FileInfo GetBuildFile(params string[] paths)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | paths | An array of parts of the path. |
Returns
| Type | Description |
|---|---|
| FileInfo | Fully qualified build file. |
GetBuildFolder(String[])
Get a build directory combining the array of paths.
Declaration
public DirectoryInfo GetBuildFolder(params string[] paths)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String[] | paths | An array of parts of the path. |
Returns
| Type | Description |
|---|---|
| DirectoryInfo | Fully qualified build directory. |