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 MasterKelli · Dec 19, 2014 at 08:16 AM · animationuibuttonspeedtransition

How to change UI button animation speed (4.6 UI)

Hello!

I would like to change UI button animation speed to be faster but I can't find any way to change it. I tried changing the animation speed properties, animator transition properties and creating a completely new animator from scratch. The transitions are always the same speed.

For example:

Normal -> Pressed

Transition takes always the same time to complete. I would like it to be faster to make a more responsive feeling UI.

Thank you!

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 fafase · Dec 19, 2014 at 09:32 AM 0
Share

Have you tried to modify the samples value in the animation window?

avatar image MasterKelli · Dec 19, 2014 at 09:47 AM 0
Share

Yes I have, doesn't affect the speed at all as it is transition which is the problem.

2 Replies

· Add your reply
  • Sort: 
avatar image
8

Answer by nyonge · Apr 29, 2015 at 09:42 PM

I found the solution, posting here for anyone else who has this same issue (applies to Unity 5 as well)

Select the animation controller that was created and open the Animator window. Select the Any State animation that should link to all the available animations. In the inspector, select the transition you want to edit under Transitions (i.e. AnyState -> Pressed). Below it there should be an expandable section called Settings, open it. In THERE is a property called Transition Duration - this is what you want to edit!

I can't believe how deeply hidden and difficult that is. Why Unity doesn't let you modify that parameter directly from the Button component itself is beyond me.

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 Ax7 · May 19, 2016 at 02:49 AM 0
Share

Awesome! Thanks for this. Was looking everywhere for that setting.

avatar image
-1

Answer by Graham-B · Apr 13, 2015 at 05:01 PM

Simply drag the in and out handles closer together to decrease the transition duration. This should give you a much more responsive feeling button.

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

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

29 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 avatar image avatar image avatar image

Related Questions

Animator has not been initialized?? 3 Answers

Button animation (transition) reset 0 Answers

How to have both a button entry animation and a highlight animation 0 Answers

How to make a button animation in menu 1 Answer

Toggle between animation states with UI button 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