Debug.Log Extensions
Documentation (1.1.9)

◆ StartStopwatch() [1/2]

static void Debug.StartStopwatch ( )
static

Starts a new stopwatch counting upwards from zero.

The stopwatch will continue running until FinishStopwatch is called.

void Start()
{
// Prints:
// Stopwatch 1 . . . 3.2 s
LoadLevel("Test");
}
void LoadLevel(string sceneName)
{
SceneManager.LoadScene(sceneName);
}
static void FinishStopwatch()
Logs results of the last created stopwatch and clears it.
Definition: Debug.cs:5492
static void StartStopwatch()
Starts a new stopwatch counting upwards from zero.
Definition: Debug.cs:5117
Extended version of the built-in Debug class with additional methods to ease debugging while developi...
Definition: Debug.cs:34