Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CompareTo(ObjectIdentifier)

Implements the IComparable interface.
Read time 1 minuteLast updated 12 days ago

Definition

public int CompareTo(ObjectIdentifier other)

Parameters

Returns

Type

Description

intThe returned value is the comparison result of the guid, local identifier, file type or file path depending on which of these is not equal first when checked in that order.