Debug.Log Extensions
Documentation (1.1.9)

◆ StartSubStopwatch() [1/3]

static void Debug.StartSubStopwatch ( )
static

Starts a new sub-stopwatch running under the stopwatch that was last started using StartStopwatch.

The sub-stopwatch will continue running until FinishSubStopwatch() is called.

void Start()
{
// Prints:
// Stopwatch 1 . . . 0.001 s
// Sub Stopwatch 1 . . . 0 s
}
void LoadLevel(string sceneName)
{
SceneManager.LoadScene(sceneName);
LoadSubscenes(sceneName);
}
static void StartSubStopwatch()
Starts a new sub-stopwatch running under the stopwatch that was last started using StartStopwatch.
Definition: Debug.cs:5230
static void FinishSubStopwatch()
Gets the last started stopwatch and finishes the sub-stopwatch inside it which was last started,...
Definition: Debug.cs:5427
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