Serialization.

AddFunction(GenericMenu, string, MenuFunctionState, GenericMenu.MenuFunction) Method

Summary

Adds a menu item to execute the specified `function` for each of the `property`s target objects.

Syntax

public static void AddFunction(this GenericMenu menu, string label, MenuFunctionState state, GenericMenu.MenuFunction function)

Parameters

Name Type Description
menu GenericMenu
label string
state MenuFunctionState
function GenericMenu.MenuFunction

Return Value

Type Description
void