IGEditorUtils.

GroupedInvoke(MenuCommand, Action<List<Object>>) Method

Summary

When a context menu function is executed with multiple objects selected, it calls the method once for each object. Passing each `command` into this method will group them all into a list and invoke the specified `method` once they have all been gathered.

Syntax

public static void GroupedInvoke(MenuCommand command, Action<List<Object>> method)

Parameters

Name Type Description
command MenuCommand
method Action<List<Object>>

Return Value

Type Description
void