ICondition
Interface for a condition attached to a state machine transition.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Interface
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public interface ICondition
Remarks
A transition is taken only when its conditions are met. Conditions are organized in groups: every transition has a root group condition, and each group combines its nested conditions with a logical operation. Use IGroupCondition to traverse the condition hierarchy from the root group. This interface is not intended to be implemented by user code; to author a custom condition, derive from Condition<T> instead.