docs.unity.cn
    Show / Hide Table of Contents

    Field ElapsedTime

    The total cumulative elapsed time in seconds.

    Namespace: Unity.Core
    Syntax
    public readonly double ElapsedTime
    Returns
    Type Description
    Double
    Remarks

    The ElapsedTime for each World is initialized to zero when the World is created. Thus, comparing timestamps across Worlds (or between Worlds and MonoBehaviours) is generally an error.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use