Version: 2021.3
public string sampleDisplayName ;

描述

The name of the Sample as it is displayed in the Profiler Window. This might be a shorter version than the last item in _markerNamePath.

The Profiler Window might shorten some Sample names, e.g. Deep Profiling samples might be stripped of the assembly parts of their name for cleaner display purposes, and Editor Only samples will be shown as Editor Only [SampleName].