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

    Struct GhostCollectionPrefab

    A list of all prefabs which can be used for ghosts. This is populated with all ghost prefabs onthe server and that list is sent for clients. Having a prefab in this list does not guarantee that there is a serializer for it yet.

    Namespace: Unity.NetCode
    Syntax
    public struct GhostCollectionPrefab : IBufferElementData

    Fields

    GhostPrefab

    Declaration
    public Entity GhostPrefab
    Field Value
    Type Description
    Entity

    GhostType

    Declaration
    public GhostTypeComponent GhostType
    Field Value
    Type Description
    GhostTypeComponent

    Hash

    Declaration
    public ulong Hash
    Field Value
    Type Description
    UInt64
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021