docs.unity.cn
    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.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.NetCode.Hybrid
    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
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023