{"id":193,"date":"2019-04-28T16:48:25","date_gmt":"2019-04-28T16:48:25","guid":{"rendered":"https:\/\/docs.sisus.co\/power-inspector\/?p=193"},"modified":"2021-03-24T17:33:04","modified_gmt":"2021-03-24T17:33:04","slug":"copy-paste","status":"publish","type":"post","link":"https:\/\/docs.sisus.co\/power-inspector\/features\/copy-paste\/","title":{"rendered":"09. Copy-Paste"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-925\" src=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/2019\/04\/CopyPaste.png\" alt=\"\" width=\"376\" height=\"209\" srcset=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/CopyPaste.png 376w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/CopyPaste-300x167.png 300w\" sizes=\"(max-width: 376px) 100vw, 376px\" \/><\/p>\n<h1>Copy Anything<\/h1>\n<p>It\u2019s possible to copy the value of any <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/drawer-target\/\">drawer targets<\/a>\u00a0via the <a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/context-menu-items\/\">right-click context menu<\/a>, or using the keyboard shortcut <strong>Ctrl + C<\/strong> (<strong>Cmd + C<\/strong> on macOS).<br \/>\nThis <strong>not only<\/strong> works with drawers representing simple types, but also with <strong>complex datasets<\/strong>, <strong><a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/unity-object\/\">Unity Object<\/a><\/strong> references, <strong>Components<\/strong>, <strong>Assets<\/strong>\u00a0and even <strong>GameObjects<\/strong>.<\/p>\n<h1>Paste Anywhere<\/h1>\n<p>A copied value can be pasted onto other drawer targets via the right-click context menu, or using the keyboard shortcut <strong>Ctrl + V<\/strong> (<strong>Cmd + V<\/strong> on macOS).<\/p>\n<h1>Cross-Type Paste<\/h1>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-195\" src=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/2019\/04\/CopyPasteCrossType.png\" alt=\"\" width=\"304\" height=\"100\" srcset=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/CopyPasteCrossType.png 304w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/CopyPasteCrossType-300x99.png 300w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/CopyPasteCrossType-150x49.png 150w\" sizes=\"(max-width: 304px) 100vw, 304px\" \/><\/p>\n<p>We try to support copy-pasting even between different types whenever possible.<br \/>\nFor example you could copy-paste:<\/p>\n<ul>\n<li><strong>Int<\/strong> value to <strong>float<\/strong> field.<\/li>\n<li><strong>Enum<\/strong> name to <strong>string<\/strong> field.<\/li>\n<li><strong>Vector2<\/strong> value to <strong>Vector2Int<\/strong> field.<\/li>\n<li><strong>Quaternion<\/strong> value to <strong>rotation<\/strong> (Vector3) field.<\/li>\n<li><strong>Array<\/strong> value to <strong>List<\/strong> field.<\/li>\n<li>Asset <strong>path<\/strong> to <a href=\"https:\/\/docs.sisus.co\/power-inspector\/terminology\/unity-object\/\">Unity <strong>Object<\/strong><\/a> field.<\/li>\n<li>Value of type <strong>T<\/strong> to field of type <strong>Nullable&lt;T&gt;<\/strong>.<\/li>\n<\/ul>\n<h1>Saved To Clipboard<\/h1>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-196\" src=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/2019\/04\/CopyPasteNotepad.png\" alt=\"\" width=\"304\" height=\"199\" srcset=\"https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/CopyPasteNotepad.png 304w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/CopyPasteNotepad-300x196.png 300w, https:\/\/docs.sisus.co\/power-inspector\/wp-content\/uploads\/sites\/2\/2019\/04\/CopyPasteNotepad-150x98.png 150w\" sizes=\"(max-width: 304px) 100vw, 304px\" \/><\/p>\n<p>Every time you copy a value, it is converted into <strong>human-readable<\/strong> text and stored in your <strong>system clipboard<\/strong>.<br \/>\nThis means that things such as the following are now possible:<\/p>\n<ul>\n<li>Make <strong>quick backups<\/strong> of different values by pasting copied values into a text editor. This can be really useful when you are experimenting with things like various color variants or trying out different camera angles.<\/li>\n<li>Copy-paste values across different Unity editor instances. Even <strong>cross-project copy-paste<\/strong> is possible. This can come in handy if you need to migrate some data between different versions of your project.<\/li>\n<li>Easily <strong>send<\/strong> <strong>complex data<\/strong> such as the full state of a component or model import settings to a co-worker.<\/li>\n<li>Copied values <strong>persist<\/strong> even if the the Unity editor is <strong>closed<\/strong> or <strong>crashes<\/strong>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Copy Anything It\u2019s possible to copy the value of any drawer targets\u00a0via the right-click context menu, or using the keyboard shortcut Ctrl + C (Cmd + C on macOS). This not only works with drawers representing simple types, but also with complex datasets, Unity Object references, Components, Assets\u00a0and even GameObjects. Paste Anywhere A copied value ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/docs.sisus.co\/power-inspector\/features\/copy-paste\/\" 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\/193"}],"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=193"}],"version-history":[{"count":9,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/193\/revisions"}],"predecessor-version":[{"id":1799,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/posts\/193\/revisions\/1799"}],"wp:attachment":[{"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/media?parent=193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/categories?post=193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.sisus.co\/power-inspector\/wp-json\/wp\/v2\/tags?post=193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}