Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


StateMachineMenuContext

Argument passed to a contextual menu handler registered for a StateMachineMenuContext.StateMachine type.
Read time 1 minuteLast updated 12 days ago

Definition

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

StateMachineThe state machine that owns the view the user right-clicked on.

Inheritance