Struct GhostDeserializerState
Inter-op struct used to pass arguments to the ghost component serializers (see GhostComponentSerializer).
Inherited Members
Namespace: Unity.NetCode
Assembly: solution.dll
Syntax
public struct GhostDeserializerState
Fields
Name | Description |
---|---|
GhostMap | A map that store an entity reference for each spawned ghost. |
GhostOwner | The NetworkId of the client owning the ghost (if the ghost has an GhostOwner) |
SendToOwner | - If set to SendToOwner, the component is deserialized only if the GhostOwner equals the current client NetworkId.. - If set to SendToNonOwner, the component is deserialized only if the GhostOwner is not equals to the current client NetworkId. |
SnapshotTick | The server tick we are deserializing. |