Documentation

Unity Engine


Unity Engine


Equals

Two BlobAssetReferences are equal when they reference the same data.
Read time 1 minuteLast updated 3 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

Equals(BlobAssetReference<T>)

Two BlobAssetReferences are equal when they reference the same data.
public bool Equals(BlobAssetReference<T> other)

Parameters

The reference to compare to this one.

Returns

Type

Description

boolTrue, if both references point to the same data or if both are BlobAssetReference<T>.Null.

Equals(Object)

Two BlobAssetReferences are equal when they reference the same data.
public override bool Equals(object obj)

Parameters

The object to compare to this reference

Returns

Type

Description

boolTrue, if the object is a BlobAssetReference instance that references to the same data as this one, or if both objects are BlobAssetReference<T>.Null BlobAssetReference instances.