기술 자료

Unity Engine

Unity Engine

CompareTo

Check if two SearchItems have the same ID.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

CompareTo(SearchItem)

Check if two SearchItems have the same ID.
public int CompareTo(SearchItem other)

Parameters

Another SearchItem to compare.

Returns

Type

Description

intReturns 0 if SearchItems have the same ID.

CompareTo(Object)

Check if two SearchItems have the same ID.
public int CompareTo(object other)

Parameters

other

Another SearchItem to compare.

Returns

Type

Description

intReturns 0 if SearchItems have the same ID.