• 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
Question by haskell33 · Jul 14, 2014 at 05:11 AM · animation2dlegacy4.5

Legacy Animation for 2D Sprites, on Unity 4.5?

What's the situation of Legacy Animations for 2D Sprites on Unity 4.5? I've tried creating a Legacy Animation for sprites, but there would be no way for it to play during the game. I've already changed it's type to '1' on Debug mode before anyone suggests this. I've tried both "Play Automatically" and disabled too. Also, trying to play it by script wouldn't bring any results. I've managed to resolve all of this by using Mecanim Animator, but it bothers me that: 1- I have to use animator for a simple prefab with only one animation, and 2- I had to create a script to access it's states since Animator is private by default (if I got this correctly?). Any help on this would be greatly appreciated. Thanks in advance.

Comment
darthtelle
vexe
JamsRamen

People who like this

3 Show 1
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 darthtelle · Jul 14, 2014 at 07:23 AM 0
Share

Unfortunately I recently had the same problem. I want to be able to call my sprites animation to play rather than set states and use triggers. I wrote my own animation controller which cycles through the sprites and assigns the sprite renderer, but I look forward to seeing if there is any solution to this. I prefer Legacy animation for certain objects.

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by wall_e1234 · Oct 21, 2014 at 08:31 PM

Go to the animation in the project, select debug (next to the lock picture), then change the animation type to 1.

Comment
vexe

People who like this

-1 Show 3 · 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 smoggach · Nov 11, 2014 at 07:39 PM 0
Share

this didn't work for me.

avatar image haskell33 · Nov 12, 2014 at 09:53 PM 0
Share

Yeah smoggach, as you can read in the question itself, this hasn't worked for me either: "I've already changed it's type to '1' on Debug mode before anyone suggests this."

I've been away from Unity since I posted this question, but I suspect this hasn't been solved yet. Anyway, I think it's a shame that they had depricated Legacy Animation for 2D Sprites.

avatar image JamsRamen · Sep 13, 2015 at 04:31 PM 0
Share

Did you even read the full question description, wall_e? haskell specifically said

I've already changed it's type to '1' on Debug mode before anyone suggests 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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

2D Legacy Animation: Cannot Play 0 Answers

How to Change to the Same Point in Another Animation 0 Answers

Animation must be marked as legacy... but... 1 Answer

2D Animation does not start 1 Answer

Legacy animation with custom 1st keyframe value 1 Answer


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