Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

ITransitionRule

interface in Unity.GraphToolkit.Editor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Interface for a single rule stacked on a ITransition.

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.
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 null when the rule is not part of one.