This version of Unity is unsupported.

GlobalObjectId.CompareTo

Declaration

public int CompareTo(GlobalObjectId other);

Parameters

other The other GlobalObjectId to compare.

Returns

int Value comparing the value of the two GlobalObjectId types. Zero will be returned if the values are equal.

Description

Returns an integer value comparing the value of the two GlobalObjectId types.

The comparison order is assetGUID, targetObjectId, targetPrefabId, then identifierType.