GraphMenuContext
Argument passed to a contextual menu handler registered for a GraphMenuContext.Graph type.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Class
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
- Inherits from: MenuContext
public sealed class GraphMenuContext : MenuContext
Remarks
A method decorated with GraphMenuAttribute or BlackboardMenuAttribute for a GraphMenuContext.Graph subclass must take this type. For a StateMachine subclass, take StateMachineMenuContext instead.
Properties
Property | Description |
|---|---|
| Graph | The graph that owns the view the user right-clicked on. |