Documentation

Unity Engine


Unity Engine


CompareTo(WorldUnmanaged)

Compares this world with another by sequence number, then by version.
Read time 1 minuteLast updated a day ago

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
.