docs.unity.cn
    Show / Hide Table of Contents

    Enum GhostMode

    The Current Ghost Mode of a Ghost, on any given client. Denotes replication and prediction rules.

    Namespace: Unity.NetCode
    Syntax
    public enum GhostMode

    Fields

    Name Description Value
    Interpolated
    0
    Predicted
    1
    OwnerPredicted

    The ghost will be Predicted by the Ghost Owner (set via GhostOwner) and Interpolated by every other client.


    2
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023