Struct GraphContextMenuItem
Namespace: Unity.VisualScripting
Syntax
public struct GraphContextMenuItem
Constructors
GraphContextMenuItem(Action<Vector2>, String)
Declaration
public GraphContextMenuItem(Action<Vector2> action, string label)
Parameters
Type | Name | Description |
---|---|---|
Action<Vector2> | action | |
String | label |
Properties
action
Declaration
public readonly Action<Vector2> action { get; }
Property Value
Type | Description |
---|---|
Action<Vector2> |
label
Declaration
public readonly string label { get; }
Property Value
Type | Description |
---|---|
String |