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 DeGeeGin · Feb 25, 2012 at 03:14 AM · guiscreenstaticdynamicdevelopment

Developing a Dynamic GUI

Hello community, I was wondering if there was any way to develop a dynamic GUI (one that alter's it's shape, tweens GUI elements to be drawn on the screen, etc.) in Unity because I am tired of the static-stay in one place-GUI. You know how Mac OS X has all of those fancy visuals in their GUI, is there anyway I could do something like that in Unity? Thanks! :)

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 dannyskim · Feb 25, 2012 at 08:29 PM

Well, if you're talking built in functionality, then no, there's not really anything that Unity has provided to you for making complex and dynamic menu systems. This is why the top paid solutions on the Asset Store for Unity have been GUI solutions, because a lack of a decent integrated system.

With that said, if you want to go the lowest cost route possible, you can create your menu system utilizing GUITextures. GUITextures are drawn on top of everything, and can be tweened by referencing their gameObjects. A great all around animation system would be iTween, found at the following link:

http://itween.pixelplacement.com/index.php

What you can do, is create an empty Game Object, and then set all your GUITextures how you would want them placed in one menu group, and then set them as children to that empty Game Object, in essence making this function as a panel. It's important for easy placement and movement of these panels that you set your empty Game Object at Vector3.zero to make it simpler to work with.

So to animate the panel, you could simply reference the Game Object in iTween to move all the GUITexures off of scene. To animate individual GUITextures, you could reference the Game Object by GUITexture.gameObject when passing it into iTween to animate localScale, position, etc.

It is important to note that if you choose to go this route, you cannot Atlas your GUI Textures causing a dramatic increase in package size due to the compartmentalized nature of doing things this way. Ultimately if you're serious about your development, I would recommend nGUI as your GUI solution to make your life a whole lot easier:

http://forum.unity3d.com/threads/114833-NGUI-(Next-Gen-UI)-demo-amp-final-feedback-request

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Android Button Screen 1 Answer

JS Class "Does not denote valid type" 0 Answers

How can I get a UI Panel's size in relation to the screen size? 1 Answer

Making a button's placement independent of resolution 1 Answer

Dynamic lights being baked into scene? 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