GetRule(int)
Retrieves the rule at the specified index.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
ITransitionRule GetRule(int index)
Parameters
The zero-based index of the rule to retrieve.
Returns
Type | Description |
|---|---|
| ITransitionRule | The rule at the specified index. |
Remarks
Throws ArgumentOutOfRangeException when is less than 0 or greater than or equal to ITransition.RuleCount.
index