GetRules()
Retrieves the rules stacked on this transition, in the order they appear.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
IEnumerable<ITransitionRule> GetRules()
Returns
Type | Description |
|---|---|
| IEnumerable<ITransitionRule> | The rules stacked on this transition, in the order they appear. |
Remarks
A single transition can hold several ITransitionRules. Each rule has its own set of conditions; the transition is taken when the conditions of one of its enabled rules are met.