Struct GhostCollection | Unity NetCode | 0.6.0-preview.7
docs.unity.cn
    Show / Hide Table of Contents

    Struct GhostCollection

    A component used to identify the singleton which owns the ghost collection lists and data. The singleton contains buffers for GhostCollectionPrefab, GhostCollectionPrefabSerializer, GhostCollectionComponentIndex and GhostComponentSerializer.State

    Namespace: Unity.NetCode
    Syntax
    public struct GhostCollection : IComponentData

    Fields

    IsInGame

    Declaration
    public bool IsInGame
    Field Value
    Type Description
    Boolean

    NumLoadedPrefabs

    Declaration
    public int NumLoadedPrefabs
    Field Value
    Type Description
    Int32
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021