This version of Unity is unsupported.

GenericMenu.MenuFunction2

public delegate void MenuFunction2(object userData);

Parameters

userDataThe data to pass through to the callback function.

Description

Callback function with user data, called when a menu item is selected.