EntityReservationSystem Class

Namespace: Improbable.Gdk.CoreSource

Inheritance

ComponentSystem


Fields

TargetEntityIdCount Source
uint TargetEntityIdCount


MinimumReservationCount Source
uint MinimumReservationCount


Methods

TryGet Source
bool TryGet(out EntityId entityId)

Parameters

TryTake Source
bool TryTake(uint count, out EntityId[] entityIds)

Parameters
  • uint count :
  • out EntityId[] entityIds :

TakeAsync Source
Task<EntityId[]> TakeAsync(uint count, CancellationToken cancellationToken = default)

Parameters
  • uint count :
  • CancellationToken cancellationToken :

GetAsync Source
Task<EntityId> GetAsync(CancellationToken cancellationToken = default)

Parameters
  • CancellationToken cancellationToken :


Overrides

OnCreate Source
override void OnCreate()


OnUpdate Source
override void OnUpdate()

Updated about a year ago


EntityReservationSystem Class


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.