Struct GhostCount
Singleton component with APIs and collections required for Ghost counting.
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
[BurstCompile]
public struct GhostCount : IComponentData, IQueryTypeParameter
Properties
Name | Description |
---|---|
GhostCountOnClient | The total number of ghosts received by this client the last time a snapshot was received. The number of received ghosts can be different from the number of currently spawned ghosts. Use this and GhostCountOnServer to figure out how much of the state the client has received. |
GhostCountOnServer | The total number of ghosts on the server the last time a snapshot was received. Use this and GhostCountOnClient to figure out how much of the state the client has received. |