Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PopulateContextMenu(IRenderPipelineGraphicsSettings, SerializedProperty, ref GenericMenu)

Populate a context menu with custom methods for all IRenderPipelineGraphicsSettings.
Read time 1 minuteLast updated 12 days ago

Definition

PopulateContextMenu(IRenderPipelineGraphicsSettings, SerializedProperty, GenericMenu)

void PopulateContextMenu(IRenderPipelineGraphicsSettings setting, SerializedProperty property, ref GenericMenu menu)

Parameters

The IRenderPipelineGraphicsSettings that the contextual menu changed.


The GenericMenu being constructed, to be amended with some custom commands.