Class GhostPredictionSystemGroup | Unity NetCode | 0.2.0-preview.5
docs.unity3d.com
    Show / Hide Table of Contents

    Class GhostPredictionSystemGroup

    Inheritance
    Object
    GhostPredictionSystemGroup
    Namespace: Unity.NetCode
    Syntax
    public class GhostPredictionSystemGroup : ComponentSystemGroup

    Fields

    IsFinalPredictionTick

    Declaration
    public bool IsFinalPredictionTick
    Field Value
    Type Description
    Boolean

    OldestPredictedTick

    Declaration
    public NativeArray<uint> OldestPredictedTick
    Field Value
    Type Description
    NativeArray<UInt32>

    PredictingTick

    Declaration
    public uint PredictingTick
    Field Value
    Type Description
    UInt32

    Methods

    AddPredictedTickWriter(JobHandle)

    Declaration
    public void AddPredictedTickWriter(JobHandle handle)
    Parameters
    Type Name Description
    JobHandle handle

    OnCreate()

    Declaration
    protected override void OnCreate()

    OnDestroy()

    Declaration
    protected override void OnDestroy()

    OnUpdate()

    Declaration
    protected override void OnUpdate()

    ShouldPredict(UInt32, PredictedGhostComponent)

    Declaration
    public static bool ShouldPredict(uint tick, PredictedGhostComponent predicted)
    Parameters
    Type Name Description
    UInt32 tick
    PredictedGhostComponent predicted
    Returns
    Type Description
    Boolean
    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