docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct GhostGroup

    Similar to Unity.Entities.LinkedEntityGroup, this buffer can be added to a ghost (via the GhostAuthoringComponent), and it denotes that a group of ghosts should all be serialized as part of this ghost. Note: LinkedEntityGroup stores the root entity in the list, GhostGroup does not!

    For usage, nuances, and best practices, see: https://docs.unity3d.com/Packages/com.unity.netcode@latest/index.html?subfolder=/manual/ghost-groups.md

    Implements
    IBufferElementData
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    [InternalBufferCapacity(0)]
    public struct GhostGroup : IBufferElementData

    Fields

    Value

    A child entity.

    Declaration
    public Entity Value
    Field Value
    Type Description
    Entity

    Implements

    Unity.Entities.IBufferElementData
    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)