C# Класс UnityContrib.UnityEngine.Measure

Provides methods for doing measurements of code execution.
Показать файл Открыть проект

Открытые методы

Метод Описание
DebugLogTime ( string caption, System.Action action ) : void

Measures the time the specified action takes to execute.

Time ( System.Action action ) : float

Measures the time the specified action takes to execute.

Описание методов

DebugLogTime() публичный статический Метод

Measures the time the specified action takes to execute.
public static DebugLogTime ( string caption, System.Action action ) : void
caption string /// The caption of the measurement. ///
action System.Action /// The action to measure. ///
Результат void

Time() публичный статический Метод

Measures the time the specified action takes to execute.
public static Time ( System.Action action ) : float
action System.Action /// The action to measure. ///
Результат float