UnityEditorArguments.

SetCustomArguments 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 Action<dynamic> SetCustomArguments { set; }

Examples

new UnityEditorArguments
{
    ExecuteMethod = "Build.RunCommandLineBuild",
    SetCustomArguments = x =>
    {
        x.buildNumber = 42;
        x.packageTitle = "Game of Builds";
    },
};

Attributes

Type Description
DynamicAttribute

Value

Type Description
Action<dynamic>