docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PushTime

    PushTime(TimeData)

    Push a new temporary time value to the World's current time

    Declaration
    public void PushTime(TimeData newTimeData)
    Parameters
    Type Name Description
    TimeData newTimeData

    The temporary TimeData.

    Remarks

    This is generally used to temporarily override the time for a world for the duration of a single ComponentSystemGroup update, when using fixed-timestep semantics. The original time can subsequently be restored with PopTime().

    See Also
    PopTime()
    In This Article
    Back to top
    Copyright © 2024 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)