Struct GhostCollectionPrefab
A list of all prefabs which can be used for ghosts. This is populated with all ghost prefabs onthe server and that list is sent for clients. Having a prefab in this list does not guarantee that there is a serializer for it yet.
Namespace: Unity.NetCode
Syntax
public struct GhostCollectionPrefab : IBufferElementData
Fields
GhostPrefab
Declaration
public Entity GhostPrefab
Field Value
| Type | Description |
|---|---|
| Entity |
GhostType
Declaration
public GhostTypeComponent GhostType
Field Value
| Type | Description |
|---|---|
| GhostTypeComponent |
Hash
Declaration
public ulong Hash
Field Value
| Type | Description |
|---|---|
| UInt64 |