#Easier sprite slice renaming?

1 messages · Page 1 of 1 (latest)

terse sparrow
#

Hey all. I'm setting up tilemaps at the moment, and I'm trying to figure out if there's an easier way to rename the sprites.

Right now, it seems like I have to go through all of them one by one to give them unique names. If I try to give two sprites the same name, it isn't allowed, and instead of adding a number at the end like a lot of Unity does, it just undoes the change. I'd like to figure out a way to easily rename a batch of sprites in a spritesheet - ex. water tiles and ground tiles on the same image.

The two ways I've considered this could work: Making it so that when I rename a sprite and the name is already used, it adds the index to the end. Or, even better, being able to select a group of sprites and set their names all at once, also with the index.

I've been looking into possibly making a custom editor to do this, but I have no experience with that so I'm getting a little lost.

frank fox
#

Best idea I have is an editor script.

terse sparrow
#

Yeah, like I said I've been looking into it but I don't have much experience with coding them