文档

Unity Engine

Download Unity

Unity Engine

CompareTo(Entity)

Compare this entity against a given one
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public int CompareTo(Entity other)

Parameters

other

The other entity to compare to

Returns

Type

Description

intDifference based on the Entity Index value