docs.unity.cn
    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()
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023