文档

Unity Engine

Unity Engine

priority

Define a priority amongst contextual menu providers in case several target the same type.
阅读时间1 分钟最后更新于 2 小时前

Definition

警告
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.