docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TimeLogger

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

    Inheritance
    object
    TimeLogger
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Simulation
    Assembly: solution.dll
    Syntax
    public static class TimeLogger

    Properties

    Name Description
    logFrameTiming

    Enable/disable logging of FPS.

    logSimulationTime

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

    logUnscaledSimulationTime

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

    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.

    loggingIntervalSeconds

    Gets/sets the logging interval in seconds.

    In This Article
    • Properties
    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)