Struct PredictedGhostSpawn
Added to a 'PredictedGhostSpawnList' singleton entity.
Contains a transient list of ghosts that should be pre-spawned.
Expects to be handled during the GhostSpawnClassificationSystem step.
InternalBufferCapacity allocated to almost max out chunk memory.
In practice, this capacity just needs to hold the maximum number of client-authored
ghost entities per frame, which is typically in the range 0 - 1.
Syntax
[InternalBufferCapacity(950)]
public struct PredictedGhostSpawn : IBufferElementData
Fields
entity
Declaration
Field Value
ghostType
Declaration
Field Value
spawnTick
Declaration
Field Value