ParameterTransition

It determines the value of Parameter and makes a transition.

ParameterTransition

Properties

Property NameDescription
Conditions Set the judgment condition.
  • + Button Add condition.
Field NameDescription
Reference Parameter reference
Parameter Type Parameters to be referenced. Used when reference.type is other than ParameterReferenceType.Constant.
Reference Type Parameters to be referenced type. Used when reference.type is other than ParameterReferenceType.Constant.
Compare Type Compare type
Equals
Value1 == Value2
Not Equals
Value1 != Value2
Greater
Value1 > Value2
Greater Or Equals
Value1 >= Value2
Less
Value1 < Value2
Less Or Equals
Value1 <= Value2
Int Value int value to compare
Long Value long value to compare
Float Value float value to compare
Bool Value bool value to compare
String Value string value to compare
Enum Value Enum value to compare
Game Object Value GameObject value to compare
Vector 2 Value Vector2 value to compare
Vector 3 Value Vector3 value to compare
Quaternion Value Quaternion value to compare
Rect Value Rect value to compare
Bounds Value Bounds value to compare
Color Value Color value to compare
Transform Value Transform value to compare
Rect Transform Value RectTransform value to compare
Rigidbody Value Rigidbody value to compare
Rigidbody 2D Value Rigidbody2D value to compare
Component Value Component value to compare
Next State Transition destination state.

Remarks

When more than one Condition is set, it transits only when all comparison results become true.