Documentation

Unity Engine

Download Unity

Unity Engine

Equals

AllocatorManager.AllocatorHandle instances are equal if they refer to the same instance at the same version.
Read time 1 minuteLast updated 3 hours 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 readonly bool Equals(object obj)

Parameters

Returns

Type

Description

boolReturns 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 readonly bool Equals(AllocatorManager.AllocatorHandle other)

Parameters

Returns

Type

Description

boolReturns 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 readonly bool Equals(Allocator other)

Parameters

Allocator to compare against.

Returns

Type

Description

boolReturns true if both handles are for the same allocator instance at the same version, otherwise false.