{"id":94,"date":"2019-04-27T16:46:17","date_gmt":"2019-04-27T16:46:17","guid":{"rendered":"https:\/\/docs.sisus.co\/?p=94"},"modified":"2021-03-24T18:12:58","modified_gmt":"2021-03-24T18:12:58","slug":"drawer","status":"publish","type":"post","link":"https:\/\/docs.sisus.co\/power-inspector\/terminology\/drawer\/","title":{"rendered":"Drawer"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-95\" src=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/2019\/04\/GUIInstructions.png\" alt=\"\" width=\"687\" height=\"189\" srcset=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/GUIInstructions.png 687w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/GUIInstructions-300x83.png 300w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/GUIInstructions-150x41.png 150w\" sizes=\"(max-width: 687px) 100vw, 687px\" \/><\/p>\n<p>The classes that are responsible for drawing and handling the user-interaction logic of elements inside Power Inspector are called &#8220;Drawers&#8221;.<br \/>\nYou can think of them as Power Inspector&#8217;s <strong>unified<\/strong> and more <strong>powerful<\/strong> alternative to Unity\u2019s <strong><a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/editor\/\">custom editors<\/a><\/strong> and <strong><a href=\"https:\/\/docs.unity3d.com\/2018.3\/Documentation\/ScriptReference\/PropertyDrawer.html\">property drawers<\/a><\/strong>.<\/p>\n<p>The Drawers in Power Inspector are <strong>nestable<\/strong> in nature, and most drawers, outside the ones for simple built-in types, actually have multiple <strong><a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/members\/\">member drawers<\/a><\/strong> that handle most of the grunt work for them.<\/p>\n<p>For example, the drawer for a GameObject can contain multiple member drawers to handle its components, all of which can contain multiple member drawers for handling their <strong><a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/members\/\">class members<\/a><\/strong>.<\/p>\n<p>See also:<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/22-drawers\/\">Feature page for Drawers<\/a><\/li>\n<li><a href=\"https:\/\/docs.sisus.co\/power-inspector\/extending-power-inspector\/creating-new-drawers\/\">Creating New Drawers<\/a><\/li>\n<\/ul>\n<blockquote><p>Note: In Power Inspector 1.0.3 and earlier drawers were referred to as GUI instructions.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>The classes that are responsible for drawing and handling the user-interaction logic of elements inside Power Inspector are called &#8220;Drawers&#8221;. You can think of them as Power Inspector&#8217;s unified and more powerful alternative to Unity\u2019s custom editors and property drawers. The Drawers in Power Inspector are nestable in nature, and most drawers, outside the ones ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/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":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/94"}],"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=94"}],"version-history":[{"count":12,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":1857,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/94\/revisions\/1857"}],"wp:attachment":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}