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