docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Property PredictedTickIndex

    PredictedTickIndex

    Counts the number of predicted ticks triggered on this frame (while inside the prediction loop). Thus, client only, and increments BEFORE the tick occurs (i.e. the first predicted tick will have a value of 1). Outside the prediction loop, records the current or last frames prediction tick count (until prediction restarts).

    Declaration
    public int PredictedTickIndex { get; }
    Property Value
    Type Description
    int
    In This Article
    Back to top
    Copyright © 2023 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)