Skip to content

Entity.Id Property

Definition

Namespace: Brine2D.ECS

Unique ID for this entity. Assigned atomically at creation. IDs start at 1; 0 is reserved as an invalid/null sentinel.

C#
public long Id { get; }

Property Value

System.Int64