UnityEditorArguments.

Custom Property

Summary

Custom arguments which can further be processed in Unity Editor script by calling System.Environment.GetCommandLineArgs method.

They are supplied among other arguments in format "--key=value".

Expected to be used in conjunction with ExecuteMethod argument.

Assembly
Cake.Unity.dll
Namespace
Cake.Unity
Containing Type
UnityEditorArguments

Syntax

public dynamic Custom { get; }

Examples

var arguments = new UnityEditorArguments { ExecuteMethod = "Build.RunCommandLineBuild" };
arguments.Custom.buildNumber = 42;
arguments.Custom.packageTitle = "Game of Builds";

Attributes

Type Description
DynamicAttribute

Value

Type Description
dynamic