PopulateContextMenu(T, PropertyDrawer, ref GenericMenu)
Allows to populate context menu with custom methods for your IRenderPipelineGraphicsSettings.
阅读时间1 分钟最后更新于 2 小时前
Definition
- Type: Method
- Namespace: UnityEditor.Rendering
- Assembly: UnityEditor
PopulateContextMenu(T, PropertyDrawer, GenericMenu)
void PopulateContextMenu(T setting, PropertyDrawer drawer, ref GenericMenu menu)
Parameters
The IRenderPipelineGraphicsSettings being inspected.
The PropertyDrawer being used to draw settings.
The UITK GenericDropdownMenu being constructed.