docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum GhostSpawnBuffer.Type

    The ghost mode to use to spawn th entity

    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    public enum GhostSpawnBuffer.Type

    Fields

    Name Description
    Interpolated

    The new ghost must be spawned as interpolated. The ghost creation is delayed until the InterpolationTick match (or is greater) the actual spawn tick on the server. See GhostSpawnSystem and PendingSpawnPlaceholder.

    Predicted

    The ghost is a predicted ghost. A new ghost instance is immediately created, unless the PredictedSpawnEntity is set to a valid entity reference, in which case the referenced entity is used instead as destination where to copy the received ghost snapshot.

    Unknown

    The ghost has not be classified yet and it is expected that a classification system will change this value to the proper ghost mode (see also GhostSpawnClassificationSystem).

    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)