文档

Unity Engine

Download Unity

Unity Engine

CompareTo(WorldUnmanaged)

Compares this world with another by sequence number, then by version.
阅读时间1 分钟最后更新于 19 天前

Definition

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

Parameters

The world to compare with.

Returns

Type

Description

intA negative value, zero or a positive value if this world sorts before, the same as or after
other
.