Enum GhostSpawnBuffer.Type
The ghost mode to use to spawn th entity
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
public enum GhostSpawnBuffer.Type
Fields
Name | Description |
---|---|
Interpolated | The new ghost must be spawned as interpolated. The ghost creation is delayed until the InterpolationTick match (or is greater) the actual spawn tick on the server. See GhostSpawnSystem and PendingSpawnPlaceholder. |
Predicted | The ghost is a predicted ghost. A new ghost instance is immediately created, unless the PredictedSpawnEntity is set to a valid entity reference, in which case the referenced entity is used instead as destination where to copy the received ghost snapshot. |
Unknown | The ghost has not be classified yet and it is expected that a classification system will change this value to the proper ghost mode (see also GhostSpawnClassificationSystem). |