Unity3DBuildOptions Class

Summary

All build options available when performing a Unity3D build.
Assembly
Cake.Unity3D.dll
Namespace
Cake.Unity3D
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["Unity3DBuildOptions"] class Type type-node

Syntax

public class Unity3DBuildOptions

Constructors

Name Summary
Unity3DBuildOptions() Default constructor.

Properties

Name Value Summary
BuildVersion string
A custom string used as the build version of the Unity3D project. This will be used as the bundle version in the built application.
ForceScriptInstall bool
Should we install the automated build script even if we find an existing one. Default: false
OutputEditorLog bool
Should the editor log produced by Unity3D whilst building be output to the console. Default: true
OutputPath string
The target path for the build project. Default: null
Platform Unity3DBuildPlatform
The platform to build for. Default: StandaloneWindows64
UnityEditorLocation string
The location of the Unity.exe to use. Default: null

Extension Methods

Name Value Summary
Dump<Unity3DBuildOptions>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<Unity3DBuildOptions>(Unity3DBuildOptions[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<Unity3DBuildOptions>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<Unity3DBuildOptions>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<Unity3DBuildOptions>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<Unity3DBuildOptions>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin