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.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor
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.