ITransitionRule
Interface for a single rule stacked on a ITransition.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Interface
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public interface ITransitionRule
Remarks
A transition can hold several rules. Each rule owns a root IGroupCondition that expresses the conditions under which the transition is taken. Walk the condition hierarchy from ITransitionRule.RootCondition using IGroupCondition.Get. This interface is implemented by Unity and is not intended to be implemented by user code.
Properties
Property | Description |
|---|---|
| Enabled | Whether the rule is enabled. A disabled rule is never evaluated when the transition is taken. |
| Icon | The icon displayed for this rule in the transition inspector, or |
| ID | The globally unique identifier for this rule. |
| RootCondition | The root condition group for this rule. |
| Title | The title of the rule. |
| Transition | The transition this rule is stacked on, or |