C# 클래스 UnityContrib.UnityEngine.Measure

Provides methods for doing measurements of code execution.
파일 보기 프로젝트 열기: UnityContrib/framework

공개 메소드들

메소드 설명
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