Struct GhostPresentationGameObjectPrefabReference
A reference to an entity containing the UnmanagedGhostPresentationGameObjectPrefab. The GameObject prefabs are not stored directly on the ghosts, instead a separate entity is created for storing the prefab references and this component has a reference to that entity.
Implements
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: Unity.Netcode.Hybrid
Assembly: Unity.NetCode.Hybrid.dll
Syntax
[MovedFrom(true, "Unity.NetCode.Hybrid", null, null)]
public struct GhostPresentationGameObjectPrefabReference : IComponentData, IQueryTypeParameter
Fields
Prefab
The entity containing the GameObject prefabs to instantiate.
Declaration
public Entity Prefab
Field Value
| Type | Description |
|---|---|
| Entity |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter