Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
0
Question by ez06 · May 14, 2014 at 06:02 PM · animationspritesprite sheets

What is the most Unity-compatible way to import sprite animations?

Hi,

I am fairly new to Unity and I'm currently designing Sprite animations.

What the best way of importing sprites animations to Unity?

Would it be designing the sprites with Illustrator, then the animation with Adobe Flash and then importing the Flash animation to Unity? Or is it better to make the final sprite sheet in Flash and just import the PNG sprite sheet within Unity?

Any advice/suggestion?

Thanks in advance.

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by supernat · May 14, 2014 at 06:43 PM

It depends on the system you are using to import the sprites. If you're using a 3rd party tool like 2D Toolkit, it easily creates sprite animations from importing separate individual sprite images with a consistent naming convention (i.e. walk_01, walk_02, etc). If you are using the built-in Unity sprite, it is easier to export the sprite into a single sprite sheet image, then import it as a new asset. Select the asset, then set its Texture Type to Sprite, and set the Sprite Mode to Multiple. Click Sprite Editor to open the editor. Then select the "slice" tool in the top left corner, and set it to "Grid" if your sprites are all the same size. If not, set it to Automatic. If you want full control, set it to manual. Click "Slice" then "Apply" and you're ready to use the sprites.

Next, select the small arrow next to the sprite in the Assets folder which will open up all of the individual sprites. If you have multiple animations within the sheet, you can select whichever sprites comprise the animation (or all of them) and drag them to the Hierarchy. Unity will prompt to create the animation. If you want just a single sprite, you can select one and drag it to the Hierarchy.

I would just decide which tool you want to use (check the asset store out though, there's a lot of good 2D sprite tools that will save you time!). Then export accordingly.

Comment
Add comment · Show 1 · 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 ez06 · May 14, 2014 at 07:42 PM 0
Share

Hi there, thanks for your response. I do use the method you described above, with the built-in Unity sprite tool. I'm using a combination of Illustrator, then Flash, then Photoshop in order to get my final PNG and I import it to Unity.

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.

Follow this Question

Answers Answers and Comments

21 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

Related Questions

How to create animated "sprites" in a 3D environment 1 Answer

Simultaneous Animation for an Object 0 Answers

How to make a Spring in a 2D game in unity? 0 Answers

I cannot make AnimationClip changing some Sprites without AnimationController. 0 Answers

Hide parts of the sprite in 2D? 0 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