Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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 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 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.