Documentation

Unity Engine

Download Unity

Unity Engine

Comparison

The comparison operator applied to the condition's value.
Read time 1 minuteLast updated 2 months ago

Definition

public ConditionComparison Comparison { get; }

Remarks

The operator is edited in the transition inspector when Condition<T>.DisplayComparisonDropdown is overridden to return
true
; otherwise it remains ConditionComparison.Equal. The condition only records the operator and the value; the consuming runtime is responsible for evaluating them.