Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


priority

The order to display the menu item in a menu.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public int priority

Remarks

This field stores the value set by the
itemName
parameter passed to the constructor. The field is public only for the benefit of Unity systems. Initialize it via the constructor parameter and don't modify it again.