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 object. The other object must either be another instance of Value, or null.

public int CompareTo(object obj)

Parameters

Parameter Description
Object obj The object to compare to.

Return Type

Int32: Returns the same results as CompareTo(Value).

Exceptions

Exception Description
ArgumentException Thrown when obj is not a Value.

Source

Defined in YarnSpinner/Value.cs, line 277.