docs.unity3d.com
    Show / Hide Table of Contents

    Class TimeLogger

    Tracks simulation and wall time, and periodically outputs to log.

    Inheritance
    Object
    TimeLogger
    Namespace: Unity.Simulation
    Syntax
    public static class TimeLogger

    Properties

    logFrameTiming

    Enable/disable logging of FPS.

    Declaration
    public static bool logFrameTiming { get; set; }
    Property Value
    Type Description
    Boolean

    loggingIntervalSeconds

    Gets/sets the logging interval in seconds.

    Declaration
    public static float loggingIntervalSeconds { get; set; }
    Property Value
    Type Description
    Single

    logSimulationTime

    Enable/disable logging of simulation time. Simulation time advances when the simulation is running.

    Declaration
    public static bool logSimulationTime { get; set; }
    Property Value
    Type Description
    Boolean

    logUnscaledSimulationTime

    Enable/disable logging of unscaled simulation time. Unscaled time is not affected by Time.timeScale.

    Declaration
    public static bool logUnscaledSimulationTime { get; set; }
    Property Value
    Type Description
    Boolean

    logWallTime

    Enable/disable logging of wall time. Wall time advances like time on the wall, i.e. always, independent of simulation state like pause etc.

    Declaration
    public static bool logWallTime { get; set; }
    Property Value
    Type Description
    Boolean
    Back to top
    Terms of use
    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