Version: 2020.3
public float GetSampleTimeMs (int sampleIndex);

参数

sampleIndex Index of the Profiler sample.

返回

float Returns sample duration in milliseconds.

描述

Gets the duration of sample. The amount of time is expressed in milliseconds.