docs.unity3d.com
    Show / Hide Table of Contents

    Enum GhostSpawnBuffer.Type

    The ghost mode to use to spawn th entity

    Namespace: Unity.NetCode
    Syntax
    public enum Type

    Fields

    Name Description Value
    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).


    0
    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 also PendingSpawnPlaceholder.


    1
    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.


    2
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023