Class StopwatchExtensions
Extension methods for System.Diagnostics.Stopwatch objects.
Inherited Members
Namespace: Unity.XR.CoreUtils
Assembly: Unity.XR.CoreUtils.dll
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. |