This site is for Yarn Spinner v1, and won't be updated. Go to the current site.

Value.GreaterThan Operator

Compares two values, and returns true if the first is greater than the second.

public static bool operator>(Value operand1, Value operand2)

Parameters

Parameter Description
Value operand1 The first value.
Value operand2 The second value.

Return Type

bool: true if operand1 is greater than operand2, false otherwise.

Source

Defined in YarnSpinner/Value.cs, line 583.