ドキュメント

Unity Engine

Download Unity

Unity Engine

Equals

Two BlobAssetReferences are equal when they reference the same data.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.