文档

Unity Engine

Download Unity

Unity Engine

operator ==(BlobAssetReference<T>, BlobAssetReference<T>)

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

Definition

  • Type: Operator
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static bool operator ==(BlobAssetReference<T> lhs, BlobAssetReference<T> rhs)

Parameters

The BlobAssetReference on the left side of the operator.

The BlobAssetReference on the right side of the operator.

Returns

Type

Description

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