Documentation

Unity Engine

Unity Engine

CompareTo(PropertyDatabaseRecordKey)

Compares the record key to another record key.
Read time 1 minuteLast updated a month ago

Definition

public int CompareTo(PropertyDatabaseRecordKey other)

Parameters

A record key to compare against.

Returns

Type

Description

intAn integer representing the equality result. -1 if the current key is smaller, 0 if it is equal and 1 if it is greater than the other key.