Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


priority

Define a priority amongst contextual menu providers in case several target the same type.
Read time 1 minuteLast updated 11 days ago

Definition

Warning
Deprecated. IRenderPipelineGraphicsSettingsContextMenu is deprecated and will be removed in a future release. Use IRenderPipelineGraphicsSettingsContextMenu2 instead. #from(6000.0)
int priority { get; }

Remarks

The smaller the priority, the sooner it is used on the menu. Default value is 0.