ドキュメント

Unity Engine

Download Unity

Unity Engine

Equals(void*, void*, in TypeInfo)

Compares two component types.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Equals(void*, void*, TypeInfo)

public static bool Equals(void* lhsPtr, void* rhsPtr, in FastEquality.TypeInfo typeInfo)

Parameters

lhsPtr

Pointer to the component on the left-side of the comparison.

rhsPtr

Pointer to the component on the right-side of the comparison.

typeInfo

TypeInfo to provide the Equals method to invoke.

Returns

Type

Description

boolReturns true if the components are equal. False otherwise.