文档

Unity Engine

Unity Engine

GetSampleTimeMs(int)

Gets the duration of sample. The amount of time is expressed in milliseconds.
阅读时间1 分钟最后更新于 1 个月前

Definition

public float GetSampleTimeMs(int sampleIndex)

Parameters

sampleIndex

Index of the Profiler sample.

Returns

Type

Description

floatReturns sample duration in milliseconds.