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

Value.CompareTo Method

Compares this Value to another Value.

public int CompareTo(Value other)

Remarks

The method of comparison depends upon the value’s Yarn.Value.BackingValue.

Parameters

Parameter Description
Value other The other Value to compare to.

Return Type

Int32: Returns the result of comparing this Value against other.

Source

Defined in YarnSpinner/Value.cs, line 310.