selection
Get the current selection in a frame time sample based Profiler modules, such as the CPU Usage module and the GPU Usage Profiler module.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Property
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor.CoreModule
ProfilerTimeSampleSelection selection { get; }
Remarks
When there is no active selection in this module, this vaule is null. Additional Resources: IProfilerFrameTimeViewSampleSelectionController.SetSelection, ProfilerEditorUtility.SetSelection and IProfilerFrameTimeViewSampleSelectionController.ClearSelection.