UnityAliases.

FindUnityEditors(ICakeContext) Method

Summary

Locates installed Unity Editors.
Assembly
Cake.Unity.dll
Namespace
Cake.Unity
Containing Type
UnityAliases

Syntax

public static IReadOnlyCollection<UnityEditorDescriptor> FindUnityEditors(this ICakeContext context)

Examples

foreach (var editor in FindUnityEditors())
    Information("Found Unity Editor {0} at path {1}", editor.Version, editor.Path);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext

Return Value

Type Description
IReadOnlyCollection<UnityEditorDescriptor> Collection of found Unity Editors (path and version info).