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

Value.Modulus Operator

Calculates the remainder when dividing two values.

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 remainder of dividing two values .

Source

Defined in YarnSpinner/Value.cs, line 534.