URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Profiling.Sampler.html
taLayer-initialized', user: { user_unity_id: undefined, user_logged_in: 'no' }, environment: { environment_locale: 'en-us', environment_currency: undefined }});Provides control over a CPU Profiler label.
Sampler is a counter which produces timings information you can see in CPU Profiler.
Use this class to get information about built-in or custom Profiler label.
Additional resources: Sampler.Get, CustomSampler, CPU Usage Profiler.
| Property | Description |
|---|---|
| isValid | Returns true if Sampler is valid. (Read Only) |
| name | Sampler name. (Read Only) |
| Method | Description |
|---|---|
| GetRecorder | Returns Recorder associated with the Sampler. |