DisableAutoInclusionOfStatesFromStateMachineAssembly
Disables the automatic inclusion of states and conditions defined in the same assembly as the state machine.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Field
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
DisableAutoInclusionOfStatesFromStateMachineAssembly = 2
Remarks
By default, subclasses of State defined in the same assembly as the state machine are available in the graph item library, and subclasses of Condition defined in that assembly are available in the add-condition menu of the transition inspector. Set this flag to disable both; states and conditions must then be registered with UseWithStateMachineAttribute to be available.