Version: 2022.3
言語: 日本語
public string GetSampleName (int sampleIndex);

パラメーター

sampleIndex Index of the Profiler sample.

戻り値

string Returns sample name. Returns null if sample index is invalid.

説明

Gets the name of the specific sample.

Note: GetSampleName allocates string when called. Use GetSampleMarkerId to avaoid allocations for simple lookups.