Class AddMenuClickedEventArgs
Arguments which are passed to Add
Inherited Members
Namespace: Unity.VisualScripting .ReorderableList
Assembly: Unity.VisualScripting.Core.Editor.dll
Syntax
public sealed class AddMenuClickedEventArgs : EventArgs
Constructors
AddMenuClickedEventArgs(IReorderableListAdaptor, Rect)
Initializes a new instance of Item
Declaration
public AddMenuClickedEventArgs(IReorderableListAdaptor adaptor, Rect buttonPosition)
Parameters
Type | Name | Description |
---|---|---|
IReorderable |
adaptor | Reorderable list adaptor. |
Rect | buttonPosition | Position of the add menu button. |
Properties
Adaptor
Gets adaptor to reorderable list container.
Declaration
public IReorderableListAdaptor Adaptor { get; }
Property Value
Type | Description |
---|---|
IReorderable |
ButtonPosition
Gets position of the add menu button.
Declaration
public Rect ButtonPosition { get; }
Property Value
Type | Description |
---|---|
Rect |