ドキュメント

Unity Engine

Download Unity

Unity Engine

Equals

SystemHandle instances are equal if they refer to the same system instance.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Equals(Object)

SystemHandle instances are equal if they refer to the same system instance.
public override bool Equals(object obj)

Parameters

The object to compare to this SystemHandle.

Returns

Type

Description

boolTrue, if the obj is a SystemHandle object and both SystemHandles represent the same system instance.

Equals(SystemHandle)

Implements IEquatable interface for usage in generic containers. SystemHandle instances are equal if they refer to the same system instance.
public bool Equals(SystemHandle other)

Parameters

Another SystemHandle instance.

Returns

Type

Description

boolTrue, if both SystemHandles represent the same system instance.