docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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

    Implements

    IComponentData
    IQueryTypeParameter
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)