{"id":1094,"date":"2019-10-03T12:51:08","date_gmt":"2019-10-03T12:51:08","guid":{"rendered":"https:\/\/docs.sisus.co\/power-inspector\/?p=1094"},"modified":"2019-10-03T18:15:50","modified_gmt":"2019-10-03T18:15:50","slug":"draw-script-reference-fields","status":"publish","type":"post","link":"https:\/\/docs.sisus.co\/power-inspector\/preferences\/draw-script-reference-fields\/","title":{"rendered":"Draw Script Reference Fields"},"content":{"rendered":"<p>Determines whether or not <a href=\"https:\/\/docs.sisus.co\/power-inspector\/enhanced-drawers\/unity-object-drawer\/\">Unity Object drawers<\/a> will display a reference to the script asset that contains their code of their <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/target-object\/\">target<\/a>.<\/p>\n<h3><strong>False<\/strong> (Default)<\/h3>\n<blockquote><p>The script asset that contains the code of a <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/target-object\/\">target Object<\/a> will not be shown as the first element of Unity Object drawers.<\/p><\/blockquote>\n<h3><strong>True<\/strong><\/h3>\n<blockquote><p>The script asset that contains the code of a target Object will be shown as the first element of Unity Object drawers.<\/p>\n<p>This is similar to how the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/default-inspector\/\">default inspector<\/a> works.<\/p><\/blockquote>\n<p><strong>Tip:<\/strong> You can always click the header of a MonoBehaviour with the middle mouse button to <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/pinging\/\">ping<\/a>\u00a0the script asset.<br \/>\nAlso you can select <strong>Edit Script<\/strong> from the context menu of the Unity Object drawer to start editing the script.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Determines whether or not Unity Object drawers will display a reference to the script asset that contains their code of their target. False (Default) The script asset that contains the code of a target Object will not be shown as the first element of Unity Object drawers. True The script asset that contains the code ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/docs.sisus.co\/power-inspector\/preferences\/draw-script-reference-fields\/\" 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":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/1094"}],"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=1094"}],"version-history":[{"count":2,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/1094\/revisions"}],"predecessor-version":[{"id":1113,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/1094\/revisions\/1113"}],"wp:attachment":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/media?parent=1094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/categories?post=1094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/tags?post=1094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}