Equals
Checks whether two DescriptorIDs contain the same ID.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.ProjectAuditor.Editor
- Assembly: UnityEditor
Equals(DescriptorId)
Checks whether two DescriptorIDs contain the same ID.
public bool Equals(DescriptorId other)
Parameters
A DescriptorId to compare to.
Returns
Type | Description |
|---|---|
| bool | True 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
A string representing a descriptor ID to compare to.
Returns
Type | Description |
|---|---|
| bool | True if the descriptors are the same, false if they are different. |