{"id":720,"date":"2019-08-21T18:53:03","date_gmt":"2019-08-21T18:53:03","guid":{"rendered":"https:\/\/docs.sisus.co\/power-inspector\/?p=720"},"modified":"2021-03-24T17:47:30","modified_gmt":"2021-03-24T17:47:30","slug":"unity-object-drawer","status":"publish","type":"post","link":"https:\/\/docs.sisus.co\/power-inspector\/enhanced-drawers\/unity-object-drawer\/","title":{"rendered":"Unity Object Drawer"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-147\" src=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/2019\/04\/ArrowKeyNavigation.png\" alt=\"\" width=\"282\" height=\"224\" srcset=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/ArrowKeyNavigation.png 282w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/ArrowKeyNavigation-150x119.png 150w\" sizes=\"(max-width: 282px) 100vw, 282px\" \/><\/p>\n<p>The <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/drawer\/\">drawer<\/a>\u00a0for <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/unity-object\/\">Unity Objects<\/a> (Components and assets) offer a couple of enhancements over the <a href=\"https:\/\/docs.unity3d.com\/Manual\/UsingComponents.html\" target=\"_blank\" rel=\"noopener noreferrer\">Component Editor in the default inspector<\/a>.<\/p>\n<h1>Selectable<\/h1>\n<p>Unity Object drawers can be <strong>selected<\/strong> in Power Inspector by <strong>clicking<\/strong> the header or using <strong><a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/keyboard-navigation\/\">keyboard <\/a><a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/keyboard-navigation\/\">shortcuts<\/a><\/strong>.<br \/>\nWhen a Unity Object drawer is selected, a clear <strong>visual indicator<\/strong> is shown in the form of a <strong>blue line<\/strong> at the left edge of the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/inspector-view\/\">inspector view<\/a>.<br \/>\nWhile being selectable might <strong>seem<\/strong> like a relatively useless feature, it unlocks a new ability: to target the Unity Object with commands using <strong>keyboard shortcuts<\/strong>.<\/p>\n<h1>Copy-Paste Support<\/h1>\n<p>Just like all <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/members\/\">class members<\/a> in Power Inspector, Unity Object values also be <a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/copy-paste\/\">copied and pasted<\/a>.<br \/>\nCopy-pasting asset import settings is also supported, so you can for example make sure that all the textures inside one folder have the same settings with just a few of clicks!<\/p>\n<h1>New Context Menu Items<\/h1>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-794\" src=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/2019\/08\/Unity-Object-Menu.png\" alt=\"\" width=\"771\" height=\"459\" srcset=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/08\/Unity-Object-Menu.png 771w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/08\/Unity-Object-Menu-300x179.png 300w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/08\/Unity-Object-Menu-768x457.png 768w\" sizes=\"(max-width: 771px) 100vw, 771px\" \/><\/p>\n<p>Unity Objects have an extended context menu, containing some new useful commands you can execute, such as:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><strong>Select Previous Of Type<\/strong> &#8211; Selects previous Component of same type.<\/li>\n<li><strong>Select Next Of Type<\/strong> &#8211; Selects next Component of same type.<\/li>\n<li><strong>Auto-Name<\/strong> &#8211; Names the GameObject based on the Component.<\/li>\n<li><strong>Debug Mode+<\/strong> &#8211; Toggle Debug Mode+ on or off.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>Extended Context Menu Items<\/h2>\n<p>In addition to the items in the normal context menu, there are some additional menu items only found in the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/context-menu-items\/\">extended context menu<\/a>.<\/p>\n<ul>\n<li><strong>Inspect Static Members<\/strong> &#8211; Shows you the static class members of the Component&#8217;s class.<\/li>\n<li><strong>Hide Flags<\/strong> &#8211; Allows you to view and edit the <a href=\"https:\/\/docs.unity3d.com\/ScriptReference\/Object-hideFlags.html\">hide flags<\/a> of the Unity Object.<\/li>\n<li><strong>Randomize<\/strong> &#8211; Randomizes all values of the Component.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The drawer\u00a0for Unity Objects (Components and assets) offer a couple of enhancements over the Component Editor in the default inspector. Selectable Unity Object drawers can be selected in Power Inspector by clicking the header or using keyboard shortcuts. When a Unity Object drawer is selected, a clear visual indicator is shown in the form of ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/docs.sisus.co\/power-inspector\/enhanced-drawers\/unity-object-drawer\/\" 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":[13],"tags":[],"_links":{"self":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/720"}],"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=720"}],"version-history":[{"count":12,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/720\/revisions"}],"predecessor-version":[{"id":1827,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/720\/revisions\/1827"}],"wp:attachment":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/media?parent=720"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/categories?post=720"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/tags?post=720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}