Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Equals

Checks whether two DescriptorIDs contain the same ID.
Read time 1 minuteLast updated 12 days ago

Definition

Equals(DescriptorId)

Checks whether two DescriptorIDs contain the same ID.
public bool Equals(DescriptorId other)

Parameters

A DescriptorId to compare to.

Returns

Type

Description

boolTrue if the descriptors are the same, false if they are different.

Equals(string)

Checks whether two DescriptorIDs contain the same ID.
public bool Equals(string other)

Parameters

other

A string representing a descriptor ID to compare to.

Returns

Type

Description

boolTrue if the descriptors are the same, false if they are different.