{"id":131,"date":"2019-04-27T17:57:38","date_gmt":"2019-04-27T17:57:38","guid":{"rendered":"https:\/\/docs.sisus.co\/power-inspector\/?p=131"},"modified":"2021-03-24T17:31:23","modified_gmt":"2021-03-24T17:31:23","slug":"view-menu","status":"publish","type":"post","link":"https:\/\/docs.sisus.co\/power-inspector\/features\/view-menu\/","title":{"rendered":"04. View Menu"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-132\" src=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/2019\/04\/ViewMenu.png\" alt=\"\" width=\"374\" height=\"252\" srcset=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/ViewMenu.png 374w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/ViewMenu-300x202.png 300w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/ViewMenu-150x101.png 150w\" sizes=\"(max-width: 374px) 100vw, 374px\" \/><\/p>\n<p>Clicking the view menu button on the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/toolbars\/\">toolbar<\/a> opens up a context menu which allows quickly changing options related to what and how data is shown in the Power Inspector <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/inspector-view\/\">view<\/a>.<\/p>\n<h1>List of View Menu Items<\/h1>\n<p>The contents of the view menu can dynamically change based on what <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/target-object\/\">targets<\/a> are currently shown inside the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/inspector-view\/\">inspector view<\/a>.<br \/>\nHere are some of the menu items you might find in the view menu:<\/p>\n<hr \/>\n<h2>Debug Mode+<\/h2>\n<h3>Off (Default)<\/h3>\n<blockquote><p>Disable <a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/debug-mode\/\">Debug Mode+<\/a> for the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/inspector-view\/\">inspector view<\/a>. Hidden components are not shown and <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/members\/\">class members<\/a>\u00a0are only shown when they pass certain <a href=\"https:\/\/docs.sisus.co\/power-inspector\/getting-started\/class-member-visibility\/\">criteria<\/a>.<\/p><\/blockquote>\n<h3>On<\/h3>\n<blockquote><p>Enable <a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/debug-mode\/\">Debug Mode+<\/a> for the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/inspector-view\/\">inspector view<\/a>. All Components and <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/members\/\">class members<\/a> are shown in the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/inspector-view\/\">inspector view<\/a>, including non-serialized ones and ones hidden using attributes or hide flags. Only items with the Deprecated attribute remain hidden (to avoid exceptions being thrown).<br \/>\nNote that when Debug Mode+ is activated using this menu item, it will remain active for the entire view, and remains active even if the inspected <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/target-object\/\">targets<\/a> are changed.<\/p><\/blockquote>\n<hr \/>\n<h2>Multi-Edit<\/h2>\n<h3>Merged (Default)<\/h3>\n<blockquote><p>Set <a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/multi-editing-modes\/\">multi-editing mode<\/a> to merged. When multiple targets of the same type are contained in the current selection, their data is merged together, so that they can be edited simultaneously.<br \/>\nThis is how the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/default-inspector\/\">default inspector<\/a> works.<\/p><\/blockquote>\n<h3>Stacked<\/h3>\n<blockquote><p>Set <a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/multi-editing-modes\/\">multi-editing mode<\/a> to stacked. When multiple targets are selected for inspecting, they will be listed separately, one after the other. This might be a useful mode if you want to compare and\/or migrate data between multiple targets.<\/p><\/blockquote>\n<hr \/>\n<h2>Component Unfolding<\/h2>\n<h3>Unrestricted (Default)<\/h3>\n<blockquote><p>Sets <a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/component-unfolding-modes\/\">component unfolding mode<\/a> to unrestricted. Multiple components can be shown unfolded simultaneously.<br \/>\nThis is how the default Inspector works.<\/p><\/blockquote>\n<h3>One At A Time<\/h3>\n<blockquote><p>Sets <a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/component-unfolding-modes\/\">component unfolding mode<\/a> to one at a time. Only one component can be shown unfolded at any given time.<\/p>\n<hr \/>\n<\/blockquote>\n<h2>Hidden Components<\/h2>\n<h3>Hide (Default)<\/h3>\n<blockquote><p>Components that have been hidden using <a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/HideFlags.html\" target=\"_blank\" rel=\"noopener noreferrer\">HideFlags<\/a> are not shown in the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/inspector-view\/\">inspector view<\/a>. This is how the default Inspector window works.<\/p><\/blockquote>\n<h3>Show<\/h3>\n<blockquote><p>Components that have been hidden using <a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/HideFlags.html\" target=\"_blank\" rel=\"noopener noreferrer\">HideFlags<\/a> are still shown in the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/inspector-view\/\">inspector view<\/a>. They will be grayed-out to indicate that they are hidden.<\/p><\/blockquote>\n<hr \/>\n<h2>Script Field<\/h2>\n<h3>Hide (Default)<\/h3>\n<blockquote><p>Don\u2019t display a reference to the script asset of MonoBehaviours and ScriptableObjects as their first field.<br \/>\nYou can still right click the header of such targets and select \u201cEdit Script\u201d to start editing their script asset or \u201cSelect Script\u201d to select their script asset in the Project window.<\/p><\/blockquote>\n<h3>Show<\/h3>\n<blockquote><p>Display reference to the script asset of MonoBehaviours and ScriptableObjects as their first field.<br \/>\nThis is how the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/default-inspector\/\">default inspector<\/a> works.<\/p><\/blockquote>\n<hr \/>\n<h2>Field Visibility<\/h2>\n<h3>Serialized Only (Default)<\/h3>\n<blockquote><p>Fields that <a href=\"https:\/\/docs.unity3d.com\/Manual\/script-Serialization.html\" target=\"_blank\" rel=\"noopener noreferrer\">Unity can\u2019t serialize<\/a> are not shown in the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/inspector-view\/\">inspector view<\/a>, even if public, unless explicitly <a href=\"https:\/\/docs.sisus.co\/power-inspector\/getting-started\/class-member-visibility\/\">exposed using attributes<\/a> like ShowInInspector.<br \/>\nThis is similar to how the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/default-inspector\/\">default inspector<\/a> works.<\/p><\/blockquote>\n<h3>All Public<\/h3>\n<blockquote><p>All public fields fields are shown, whether or not Unity can serialize them, unless explicitly <a href=\"https:\/\/docs.sisus.co\/power-inspector\/getting-started\/class-member-visibility\/\">hidden using attributes<\/a> such as <a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/HideInInspector.html\" target=\"_blank\" rel=\"noopener noreferrer\">HideInInspector<\/a>.<br \/>\nNon-public fields are not shown unless explicitly exposed using attributes such as ShowInInspector.<\/p><\/blockquote>\n<hr \/>\n<h2>Property Visibility<\/h2>\n<h3>Attribute-Exposed Only (Default)<\/h3>\n<blockquote><p>Only show properties explicitly <a href=\"https:\/\/docs.sisus.co\/power-inspector\/getting-started\/class-member-visibility\/\">exposed using attributes<\/a> like ShowInInspector.<\/p><\/blockquote>\n<h3>Auto-Generated Public<\/h3>\n<blockquote><p>All public auto-generated properties are shown, unless explicitly <a href=\"https:\/\/docs.sisus.co\/power-inspector\/getting-started\/class-member-visibility\/\">hidden using attributes<\/a> such as <a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/HideInInspector.html\" target=\"_blank\" rel=\"noopener noreferrer\">HideInInspector<\/a>.<br \/>\nOther properties are not shown unless explicitly exposed with attributes such as ShowInInspector.<\/p><\/blockquote>\n<h3>All Public<\/h3>\n<blockquote><p>All public properties are shown, unless explicitly <a href=\"https:\/\/docs.sisus.co\/power-inspector\/getting-started\/class-member-visibility\/\">hidden using attributes<\/a> such as HideInInspector.<\/p><\/blockquote>\n<hr \/>\n<h2>Method Visibility<\/h2>\n<h3>Attribute-Exposed Only (Default)<\/h3>\n<blockquote><p>Only show methods explicitly <a href=\"https:\/\/docs.sisus.co\/power-inspector\/getting-started\/class-member-visibility\/\">exposed using attributes<\/a> such as ShowInInspector.<\/p><\/blockquote>\n<h3>Context Menu<\/h3>\n<blockquote><p>All methods with the <a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/ContextMenu.html\" target=\"_blank\" rel=\"noopener noreferrer\">ContextMenu attribute<\/a> are shown, unless explicitly <a href=\"https:\/\/docs.sisus.co\/power-inspector\/getting-started\/class-member-visibility\/\">hidden using attributes<\/a> such as <a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/HideInInspector.html\" target=\"_blank\" rel=\"noopener noreferrer\">HideInInspector<\/a>. This includes static methods.<br \/>\nOther methods are not shown unless explicitly exposed with attributes such as ShowInInspector.<\/p><\/blockquote>\n<h3>All Public<\/h3>\n<blockquote><p>All public methods are shown, unless explicitly <a href=\"https:\/\/docs.sisus.co\/power-inspector\/getting-started\/class-member-visibility\/\">hidden using attributes<\/a> such as <a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/HideInInspector.html\" target=\"_blank\" rel=\"noopener noreferrer\">HideInInspector<\/a>.<br \/>\nNon-public methods are only shown if explicitly exposed using attributes such as ShowInInspector.<\/p><\/blockquote>\n<hr \/>\n<h2>Preview Area<\/h2>\n<h3>Minimized<\/h3>\n<blockquote><p>The preview area always starts off minimized when the inspected targets change.<br \/>\nYou will always have to manually expand the preview area by clicking it.<\/p><\/blockquote>\n<h3>Dynamic (Default)<\/h3>\n<blockquote><p>When inspected targets change, the preview area starts off minimized most of the time, except when a preview offers information that users are likely to find useful &#8211; such as a visual preview of a texture or a model &#8211; then it starts off maximized instead.<br \/>\nYou can still always manually expand or minimize the preview area by clicking it.<\/p><\/blockquote>\n<h3>Manual<\/h3>\n<blockquote><p>The preview area remains open or minimized even when inspected targets are changed.<br \/>\nThe user always has to manually change the minimized state of the preview area by clicking it.<br \/>\nThis is similar to how the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/default-inspector\/\">default inspector<\/a> works.<\/p><\/blockquote>\n<hr \/>\n<h1>Opening The Extended View Menu<\/h1>\n<p>You can open the extended view menu by <strong>clicking<\/strong> the view menu button while holding down the\u00a0<strong>control<\/strong> key. Alternatively, you can <strong>right-click<\/strong> the view menu button. The extended view menu contains all the same menu items as the normal view menu, but also includes some additional ones.<\/p>\n<h1>Additional Items in the Extended View Menu<\/h1>\n<hr \/>\n<h2>EditorWindow Debugger<\/h2>\n<h3>this (PowerInspectorWindow)<\/h3>\n<blockquote><p>Shows the state data this Power Inspector window in another Power Inspector window that is opened. A new window is opened so that the state of the current window is does not get altered from the EditorWindow debugger feature being used.<\/p><\/blockquote>\n<h3>Other Entries<\/h3>\n<blockquote><p>Shows the state data of the selected currently open <a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/EditorWindow.html\">EditorWindow<\/a> in the inspector.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Clicking the view menu button on the toolbar opens up a context menu which allows quickly changing options related to what and how data is shown in the Power Inspector view. List of View Menu Items The contents of the view menu can dynamically change based on what targets are currently shown inside the inspector ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/view-menu\/\" title=\"read more\">Read more<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/131"}],"collection":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/comments?post=131"}],"version-history":[{"count":19,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/131\/revisions"}],"predecessor-version":[{"id":1796,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/131\/revisions\/1796"}],"wp:attachment":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/media?parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/categories?post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/tags?post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}