docs.unity.cn
    Show / Hide Table of Contents

    Class StopwatchExtensions

    Extension methods for Stopwatch objects

    Inheritance
    Object
    StopwatchExtensions
    Namespace: Unity.XR.CoreUtils
    Syntax
    public static class StopwatchExtensions

    Methods

    Restart(Stopwatch)

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

    Declaration
    public static void Restart(this Stopwatch stopwatch)
    Parameters
    Type Name Description
    Stopwatch stopwatch

    The stopwatch to restart

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Monday, December 12, 2022
    Terms of use