文档

Unity Engine

Unity Engine

Equals

Checks whether two DescriptorIDs contain the same ID.
阅读时间1 分钟最后更新于 1 个月前

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.