03. Context Menu Debugging Items

  10. Extending Power Inspector No Comments

With development mode enabled, if you right-click a drawer while holding down the ctrl key (cmd key on macOS), a new group called “Debugging” will appear in the context menu. This menu will contain a number of additional menu items that can be useful when you’re creating new drawers.

The first item, “Debugging/Edit [NameOfDrawer].cs”, can be particularly useful if you want to figure out which drawer class is responsible for drawing a certain part of the Inspector View, or want to learn how something works by examining its code.

Note: It is not recommended to do make direct edits to any of the drawer scripts that ship with Power Inspector, as this can result in conflicts when updates to Power Inspector change the same files. See modifying drawers to learn more.