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.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
Serialization

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