docs.unity.cn
    Show / Hide Table of Contents

    Class StopwatchExtensions

    Extension methods for Stopwatch objects

    Inheritance
    Object
    StopwatchExtensions
    Namespace: Unity.XRTools.Utils
    Syntax
    public static class StopwatchExtensions : object

    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 © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use