{"id":5860,"date":"2024-05-17T14:13:30","date_gmt":"2024-05-17T11:13:30","guid":{"rendered":"https:\/\/unitycoder.com\/blog\/?p=5860"},"modified":"2024-05-17T14:14:02","modified_gmt":"2024-05-17T11:14:02","slug":"editor-tool-replace-string-in-selected-gameobjects-names","status":"publish","type":"post","link":"https:\/\/unitycoder.com\/blog\/2024\/05\/17\/editor-tool-replace-string-in-selected-gameobjects-names\/","title":{"rendered":"Editor tool: Replace string in selected gameobject&#8217;s names"},"content":{"rendered":"\n<p>small tool to replace string from selected gameobject names,<br>download from here and place into Assets\/Editor\/ folder:<br><a href=\"https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Assets\/Scripts\/Editor\/BatchTools\/ReplaceCharacterInGameObjectNames.cs\">https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Assets\/Scripts\/Editor\/BatchTools\/ReplaceCharacterInGameObjectNames.cs<\/a><\/p>\n\n\n\n<p>Then you can use it from Menu: &#8220;Tools\/Replace Characters in GameObject Names&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/05\/image.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"510\" height=\"182\" data-attachment-id=\"5861\" data-permalink=\"https:\/\/unitycoder.com\/blog\/2024\/05\/17\/editor-tool-replace-string-in-selected-gameobjects-names\/image-42\/\" data-orig-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/05\/image.png?fit=510%2C182&amp;ssl=1\" data-orig-size=\"510,182\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/05\/image.png?fit=300%2C107&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/05\/image.png?fit=510%2C182&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/05\/image.png?resize=510%2C182&#038;ssl=1\" alt=\"\" class=\"wp-image-5861\" srcset=\"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/05\/image.png?w=510&amp;ssl=1 510w, https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/05\/image.png?resize=300%2C107&amp;ssl=1 300w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><\/a><\/figure>\n\n\n\n<p>^This would rename &#8220;Cube|aaa&#8221; into &#8220;Cube@aaa&#8221; and so on.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>small tool to replace string from selected gameobject names,download from here and place into Assets\/Editor\/ folder:https:\/\/github.com\/UnityCommunity\/UnityLibrary\/blob\/master\/Assets\/Scripts\/Editor\/BatchTools\/ReplaceCharacterInGameObjectNames.cs Then you can use it from Menu: &#8220;Tools\/Replace Characters in GameObject Names&#8221; ^This would rename &#8220;Cube|aaa&#8221; into &#8220;Cube@aaa&#8221; and so on.<\/p>\n","protected":false},"author":1,"featured_media":5861,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1287],"tags":[1203,358,1292,1289,1290,1291,997],"class_list":["post-5860","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-editor","tag-batch","tag-editor","tag-name","tag-rename","tag-replace","tag-string","tag-tool"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/unitycoder.com\/blog\/wp-content\/uploads\/2024\/05\/image.png?fit=510%2C182&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p1KTaT-1ww","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5860","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/comments?post=5860"}],"version-history":[{"count":2,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5860\/revisions"}],"predecessor-version":[{"id":5864,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/posts\/5860\/revisions\/5864"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media\/5861"}],"wp:attachment":[{"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/media?parent=5860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/categories?post=5860"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unitycoder.com\/blog\/wp-json\/wp\/v2\/tags?post=5860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}