Equals
AllocatorManager.AllocatorHandle instances are equal if they refer to the same instance at the same version.
Read time 1 minuteLast updated 10 days ago
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. |