Cake.Unity3D

Unity build support for Cake.

#addin nuget:?package=Cake.Unity3D&version=0.8.0

<package id="Cake.Unity3D" version="0.8.0" />

dotnet add package Cake.Unity3D --version 0.8.0

<PackageReference Include="Cake.Unity3D" Version="0.8.0" />

Aliases

Adds the ability to build Unity3D projects using cake.

General

BuildUnity3DProject(FilePath, Unity3DBuildOptions) Build a provided Unity3D project with the specified build options.
GetAllUnityInstalls() Locate all installed version of Unity3D. Warning: This currently only works for Windows and has only been tested on Windows 10.
TestUnity3DProject(FilePath, Unity3DTestOptions) Test a provided Unity3D project with the specified test options.
TryGetUnityInstall(string, string) Try and get the absolute install path for a specific Unity3D version.
TryGetUnityVersionForProject(string, string) Try and get the version of Unity3D a specified project uses.