Reorderable List Control for Unity
- Namespaces
- Rotorz.ReorderableList
- ReorderableListControl
- AddItemsToMenu(GenericMenu, Int32, IReorderableListAdaptor)
AddItemsToMenu Method (menu, itemIndex, adaptor)
Invoked to generate context menu for list item.
protected virtual void AddItemsToMenu( GenericMenu menu, int itemIndex, IReorderableListAdaptor adaptor )
Parameters
- menu (GenericMenu)
- Menu which can be populated.
- itemIndex (Int32)
- Zero-based index of item which was right-clicked.
- adaptor (IReorderableListAdaptor)
- Reorderable list adaptor.