기술 자료

Unity Engine

Unity Engine

Equals

AllocatorManager.AllocatorHandle instances are equal if they refer to the same instance at the same version.
읽는 시간 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

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.