Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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
1
Question by daipayan123 · Feb 05, 2015 at 11:10 AM · ngui

How to get the apples dock magnify effect

I wish to get the apples dock magnify effect on a navigation wheel which i made using scroll view. Does anyone have any idea on how to achieve this.

alt text

this is the apples dock magnify effect. i want something similar to this. thanks in advance.

download.jpg (6.8 kB)
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by mtalbott · Mar 11, 2015 at 02:10 PM

I think it's pretty simple.

Create a Horizontal Layout Group, fill it with layout elements with button components set to animation transitions, and animate the fixed minimum width of the layout element on highlight. the results would be something like this: youtube video

If you want it exactly like the mac dock then you'll need to use a script to set the fixed minimum width based on the distance from the pointer location.

hope that helps.

Comment
Add comment · Show 2 · 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 Wysi21 · Sep 18, 2016 at 02:00 PM 0
Share

Thanks mtalbott, that helped alot. Although, when I animate the $$anonymous$$imum width, the height doesnt stay in the same ratio. Did you do anything special? Thanks!

avatar image LeleUnity · Apr 09, 2020 at 04:42 PM 0
Share

@Wysi21 @mtalbott Hello, I tried what you said but is not working... Which settings are you using? If I set on $$anonymous$$y Horizonal group "Control Child size" then I cannot make one button grow more! If I untick that, I can make one button grow but it will push the others out of the screen!

See the picture attached. Thank you!alt text

avatar image
0

Answer by daipayan123 · Mar 18, 2015 at 06:47 AM

Thanks a ton.

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 LeleUnity · Apr 09, 2020 at 04:43 PM 0
Share

Could you share your settings please @daipayan123 ?

If I set on $$anonymous$$y Horizonal group "Control Child size" then I cannot make one button grow more! If I untick that, I can make one button grow but it will push the others out of the screen!

See the picture attached. Thank you!! alt text

bottoni-bug.png (85.3 kB)

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

22 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

Related Questions

Problems With NGUI on MAC 1 Answer

NGUI Texture 0 Answers

NGUI Buttons 2 Answers

How to keep raycast lined up with main camera & cross hair center 1 Answer

Draw Graph with Vectrosity in NGUI window 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