Documentation

Unity Engine


Unity Engine


Equals

SystemTypeIndex instances are equal if they refer to the same system type.
Read time 1 minuteLast updated 4 days ago

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.