Struct SpawnedGhostEntityMap
Singleton entity used store the entities references for all the spawned ghost.
Implements
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
public struct SpawnedGhostEntityMap : IComponentData, IQueryTypeParameter
Fields
Value
Updated by the GhostReceiveSystem and the GhostSendSystem when a ghost is spawned/despawned, let you retrieve the spawned ghost entity reference from the ghost SpawnedGhost identity.
Declaration
public NativeParallelHashMap<SpawnedGhost, Entity>.ReadOnly Value
Field Value
Type | Description |
---|---|
NativeParallelHashMap<SpawnedGhost, Entity>.ReadOnly |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter