Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PopulateContextMenu(T, PropertyDrawer, ref GenericMenu)

Allows to populate context menu with custom methods for your IRenderPipelineGraphicsSettings.
Read time 1 minuteLast updated 12 days ago

Definition

PopulateContextMenu(T, PropertyDrawer, GenericMenu)

Warning
Deprecated. IRenderPipelineGraphicsSettingsContextMenu\<T\> is deprecated and will be removed in a future release. Use IRenderPipelineGraphicsSettingsContextMenu2\<T\> instead. #from(6000.0)
void PopulateContextMenu(T setting, PropertyDrawer drawer, ref GenericMenu menu)

Parameters

setting

T
The IRenderPipelineGraphicsSettings being inspected.

The PropertyDrawer being used to draw settings.

The UITK GenericDropdownMenu being constructed.