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

Value.Subtraction Operator

Subtracts two values from each other.

public static Value operator -(Value a, Value b)

Remarks

Both values must be either a number or null.

Parameters

Parameter Description
Value a The first value.
Value b The second value.

Return Type

Value: A new Value, containing the result of subtracting the two values from each other.

Source

Defined in YarnSpinner/Value.cs, line 462.