Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CompareTo(PropertyDatabaseRecordKey)

Compares the record key to another record key.
Read time 1 minuteLast updated 14 days 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.