Struct GhostPresentationGameObjectPrefabReference
A reference to an entity containing the GhostPresentationGameObjectPrefab. The GameObject prefabs are not stored directly on the ghosts to avoid all ghosts having a managed component, instead a separate entity is created for storing the managed component and this component has a reference to that entity.
Inherited Members
Namespace: Unity.NetCode.Hybrid
Assembly: Unity.NetCode.Hybrid.dll
Syntax
public struct GhostPresentationGameObjectPrefabReference : IComponentData, IQueryTypeParameter
Fields
Prefab
The entity containing the GameObject prefabs to instantiate.
Declaration
public Entity Prefab
Field Value
Type | Description |
---|---|
Entity |