docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class StopwatchExtensions

    Extension methods for System.Diagnostics.Stopwatch objects.

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

    Methods

    Name Description
    Restart(Stopwatch)

    Restarts the stopwatch by stopping, resetting, and then starting it.

    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)