• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by duudek · Apr 10, 2014 at 06:57 PM · 2dsprite

Selecting multiple sprite slices in Sprite Editor

Hi! Quick question: is there a way to select multiple sprite slices when working in the Sprite Editor? I would like to form them into several groups, naming each group differently. I do not want to use custom naming convention which derives a name from a spritesheet and adds consecutive numbers to single sprites' names. I tried using ctrl + LMB, but to no avail.

Cheers

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Malfegor · Apr 10, 2014 at 07:05 PM 0
Share

In my experience this has not been possible. It is possible to rename a single piece of sprite by selecting it in the SpriteEditor and then configure it's name in the lower right tab of the SpriteEditor view.

avatar image Ed unity · May 05, 2014 at 07:04 PM 0
Share

It is not possible to select multiple sprites in the sprite editor window. You will just have to create a na$$anonymous$$g convention in order to have them grouped the way you want as $$anonymous$$alfegor suggested.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Grizmu · Aug 25, 2021 at 09:42 PM

It doesn't make much sense why there is no built-in multi selection functionality inside the sprite editor yes, but luckily there are workarounds to that problem.


First option would be to edit the .meta file of the spritesheet. There you can use both macros and find-replace operations to edit multiple sprites at once.


Second option, which is a little more advanced, would be to write a script that can edit multiple sprites using the base API of the sprite editor: SpriteEditorModuleBase. This allows you to create your own sprite editor module, which shows up in the sprite editor left-top dropdown menu. There you can access sprites using the field spriteEditor which uses an interface ISpriteEditor .


From here you can add buttons to the sprite editor to do what you want on multiple sprites, or even write your own editor that supports multi-selection.


Third option would be to use an asset that solves it for you. I've worked on many 2D projects so far, where we used lots of tilesets/spritesheets. During this time I've created an asset called Volt Spriter which is available on the asset store and it uses the API mentioned above.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
-1

Answer by lightningman2222 · May 18, 2015 at 05:22 AM

Press on one of the sprite slices then shift+click on the last part of the sprite u wanted to include. For example if u had 32 slices of a walking sprite sheet u wanted in animation window, just press on the first slice then go down to the 32th slice and shift+click it to select all the sprites sheet slices at once.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Malfegor · May 18, 2015 at 09:42 AM 4
Share

This answer is false, because this involves the 'Project' view of Unity. The question is if selecting multiple sprites can be done in the Sprite Editor (the screen where you can actually slice the sprites) and the answer to that question was no.

avatar image SpicyCatGames · Sep 20, 2020 at 02:34 AM 0
Share

This does not work in the sprite editor. And there is no way to select multiple sprites in the sprite editor as of 2019.4 as far as I'm aware.

avatar image SpicyCatGames · Sep 20, 2020 at 02:50 AM 0
Share

I just found a workaround, I've put it in my comment below.

avatar image SpicyCatGames SpicyCatGames · Sep 20, 2020 at 03:13 AM 0
Share

I deleted my answer as it too doesn't work. I will try to make a script if there's anything in the API that lets us do this.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

26 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Weird sprite distortion during slow movement 0 Answers

2D character movement is jittery (top-down) 1 Answer

How can i make my sprites look crisp like in scene mode ? 3 Answers

Draw/generate shape as 2D sprite? 0 Answers

Prevent 2D mask to impact other gameobjects ? 3 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges