Struct GhostCollectionPrefab
A list of all prefabs which can be used for ghosts. This is populated with all ghost prefabs on the 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.
Added to the GhostCollection singleton entity.
Syntax
[InternalBufferCapacity(96)]
public struct GhostCollectionPrefab : IBufferElementData
Fields
GhostPrefab
Declaration
public Entity GhostPrefab
Field Value
GhostType
Declaration
public GhostTypeComponent GhostType
Field Value
Hash
Declaration
Field Value
Loading
Game code should set this to LoadingActive if the prefab is currently being loaded. The collection system
will set it to LoadingNotActive every frame, so game code must reset it to LoadingActive every frame the
prefab is still loading.
Declaration
public GhostCollectionPrefab.LoadingState Loading
Field Value