Equals
AllocatorManager.AllocatorHandle instances are equal if they refer to the same instance at the same version.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
Equals(Object)
AllocatorManager.AllocatorHandle instances are equal if they refer to the same instance at the same version.
public override bool Equals(object obj)
Parameters
Object containing an AllocatorManager.AllocatorHandle.
Returns
Type | Description |
|---|---|
| bool | Returns true if both handles are for the same allocator instance at the same version, otherwise false. |
Equals(AllocatorHandle)
AllocatorManager.AllocatorHandle instances are equal if they refer to the same instance at the same version.
public bool Equals(AllocatorManager.AllocatorHandle other)
Parameters
AllocatorManager.AllocatorHandle to compare against.
Returns
Type | Description |
|---|---|
| bool | Returns true if both handles are for the same allocator instance at the same version, otherwise false. |
Equals(Allocator)
AllocatorManager.AllocatorHandle instances are equal if they refer to the same instance at the same version.
public bool Equals(Allocator other)
Parameters
Returns
Type | Description |
|---|---|
| bool | Returns true if both handles are for the same allocator instance at the same version, otherwise false. |