Documentation

Unity Engine


Unity Engine


Version

The generational version of the entity.
Read time 1 minuteLast updated 3 days ago

Definition

  • Type: Property
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public int Version { get; set; }

Remarks

The Version number can, theoretically, overflow and wrap around within the lifetime of an application. For this reason, you cannot assume that an Entity instance with a larger Version is a more recent incarnation of the entity than one with a smaller Version (and the same Index).