Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetRules()

Retrieves the rules stacked on this transition, in the order they appear.
Read time 1 minuteLast updated 6 days ago

Definition

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.