This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Unity.
Summary
Executes Unity Editor via command-line interface.
Determines location of latest available Unity Editor automatically.
- Assembly
- Cake
.Unity .dll - Namespace
- Cake
.Unity - Containing Type
- UnityAliases
Syntax
public static void UnityEditor(this ICakeContext context, UnityEditorArguments arguments, UnityEditorSettings settings = null)
Examples
UnityEditor(
new UnityEditorArguments
{
ProjectPath = "A:/UnityProject",
BuildWindowsPlayer = "A:/Build/game.exe",
LogFile = "A:/Build/unity.log",
},
new UnityEditorSettings
{
RealTimeLog = true,
});
Attributes
Type | Description |
---|---|
Cake |
|
Cake |
|
Cake |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | |
arguments | UnityEditorArguments | Unity Editor command-line arguments. |
settings | UnityEditorSettings | Optional settings which affect how Unity Editor should be executed. |
Return Value
Type | Description |
---|---|
void |