Class StopwatchExtensions
Extension methods for Stopwatch objects
Namespace: Unity.XRTools.Utils
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 |