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

Value.Addition Operator

Adds two values together.

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

Remarks

The specific method by which two values of different types are added together depends upon the type of each of the values.

Parameters

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

Return Type

Value: A new Value, containing the result of adding the two values together.

Source

Defined in YarnSpinner/Value.cs, line 420.