GetSampleTimeMs(int)
Gets the duration of sample. The amount of time is expressed in milliseconds.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor
public float GetSampleTimeMs(int sampleIndex)
Parameters
Index of the Profiler sample.
Returns
Type | Description |
|---|---|
| float | Returns sample duration in milliseconds. |