2D Roguelike Renaming Animations

Not sure if this has been answered before but I’m currently going through the 2D roguelike tutorial. In the tutorial, every time that a clip from the spritesheet is made a dialog appears so that the clip can be renamed. For some reason I’m not getting this dialog to appear in my build (Unity 5). The issue is that there are a lot of clips that have to be kept up with and the default naming is not clear on what clip I have selected. Is there a way to enable this dialog box or to manually rename the animation files?

Did you ever get an answer? This issue is something new with 5.1. I have built 2D games using up to 5.0 and today I was building a game in 2D using 5.1 and encounter the same issue. I can’t figure out how to rename the animations, only the animation states.

Yep, looks like the best option I’ve found is to do the following;

  1. Go to Assets\Sprites folder under Project and select the 6 Scanvengers_SpriteSheet_0 to 5 and when highlighted right click mouse to bring up the menu and select ‘Create’ then ‘Animation’. The animation file will be created and immediately should prompt for a name in the name field. Call this ‘PlayerIdle’.
  2. Drag this ‘PlayerIdle’ animation up to the ‘Player’ Hierarchy. This will then create a ‘Player’ animation controller.
  3. You can now test by hitting the play button. Only issue maybe the loop doesn’t work. You can fix by just selecting the ‘Loop Time’ in the Inspector for ‘PlayerIdle’
  4. Repeat for the others and drag to the ‘Animation’ and ‘AnimatorControllers’ folders when ready.

I hope this helps.

Regards,

Rob.

I was looking for an answer for this problem and this question popped up in the top Google, but there was no answer. I did some fiddling and finally figured out how to change the animation controller’s name and the animation name.


Answer:

Find the animation/controller in the project view. When you first click on the file the name will get a blue background. If you click again on the file name, you can edit it.


This is not a double click. Click once…wait…click again, and then you can edit the name. The nice thing about doing it this way is that all the dependencies will be renamed as well.