文档

Unity Engine

Download Unity

Unity Engine

Equals

Two BlobAssetReferences are equal when they reference the same data.
阅读时间1 分钟最后更新于 20 天前

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.