文档

Unity Engine

Download Unity

Unity Engine

Equals

SystemTypeIndex instances are equal if they refer to the same system type.
阅读时间1 分钟最后更新于 19 天前

Definition

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

Equals(Object)

SystemTypeIndex instances are equal if they refer to the same system type.
public override bool Equals(object compare)

Parameters

compare

The object to compare to this SystemTypeIndex.

Returns

Type

Description

boolTrue, if the compare parameter contains a TypeIndex object equal to this TypeIndex instance.

Equals(SystemTypeIndex)

SystemTypeIndex instances are equal if they refer to the same system type.
public bool Equals(SystemTypeIndex typeIndex)

Parameters

The other SystemTypeIndex.

Returns

Type

Description

boolTrue, if the SystemTypeIndex instances are equal.