Cake.Unity

Unity build support for Cake.

#addin nuget:?package=Cake.Unity&version=0.9.0

dotnet add package Cake.Unity --version 0.9.0

<PackageReference Include="Cake.Unity" Version="0.9.0" />

Aliases

Execute

UnityEditor(FilePath, UnityEditorArguments, UnityEditorSettings) Executes Unity Editor via command-line interface.
UnityEditor(FilePath, UnityEditorArguments) Executes Unity Editor via command-line interface.
UnityEditor(int, int, int, char, int, UnityEditorArguments, UnityEditorSettings)

Executes Unity Editor via command-line interface.

Determines Unity Editor location automatically by specified version.

UnityEditor(int, int, int, char, UnityEditorArguments, UnityEditorSettings)

Executes Unity Editor via command-line interface.

Determines Unity Editor location automatically by specified version.

UnityEditor(int, int, int, UnityEditorArguments, UnityEditorSettings)

Executes Unity Editor via command-line interface.

Determines Unity Editor location automatically by specified version.

UnityEditor(int, int, UnityEditorArguments, UnityEditorSettings)

Executes Unity Editor via command-line interface.

Determines Unity Editor location automatically by specified version.

UnityEditor(int, UnityEditorArguments, UnityEditorSettings)

Executes Unity Editor via command-line interface.

Determines Unity Editor location automatically by specified version.

UnityEditor(UnityEditorArguments, UnityEditorSettings)

Executes Unity Editor via command-line interface.

Determines location of latest available Unity Editor automatically.

UnityEditor(UnityEditorDescriptor, UnityEditorArguments, UnityEditorSettings) Executes Unity Editor via command-line interface.

Locate

FindUnityEditor(int, int, int, char, int) Locates installed Unity Editor by full version.
FindUnityEditor(int, int, int, char)

Locates installed Unity Editor by version (year, stream, update and stage).

If more than one Unity Editor satisfies specified version, then latest one is returned.

FindUnityEditor(int, int, int)

Locates installed Unity Editor by version (year, stream and update).

If more than one Unity Editor satisfies specified version, then latest one is returned.

FindUnityEditor(int, int)

Locates installed Unity Editor by version (year and stream).

If more than one Unity Editor satisfies specified version, then latest one is returned.

FindUnityEditor(int)

Locates installed Unity Editor by version (year).

If more than one Unity Editor satisfies specified version, then latest one is returned.

FindUnityEditor() Locates installed Unity Editor with latest version.
FindUnityEditors() Locates installed Unity Editors.