Serialization.

AddFunction(GenericMenu, string, bool, 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, bool enabled, GenericMenu.MenuFunction function)

Parameters

Name Type Description
menu GenericMenu
label string
enabled bool
function GenericMenu.MenuFunction

Return Value

Type Description
void