Documentation

Unity Engine

Download Unity

Unity Engine

name

Sampler name. (Read Only)
Read time 1 minuteLast updated 6 hours ago

Definition

Warning
Deprecated. Use Unity.Profiling.ProfilerMarker or ProfilerRecorder instead.
public string name { get; }

Remarks

Data generated by the Sampler is labeled with this name in the Profiler window.
Note: If Sampler is invalid name returns null or empty string.