Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


State.IOptionDefinitionContext

Interface that provides methods to declare state options inside a state.
Read time 1 minuteLast updated 12 days ago

Definition

public interface State.IOptionDefinitionContext

Remarks

Use this interface to add options on states. Unlike the node options of a Node, the options of a state are never drawn on the state in the state machine canvas: they only appear in the graph inspector when the state is selected.

Methods

Method

Description

AddOptionAdds a new state option.