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
1
Question by logging_out · Jan 09, 2011 at 06:18 PM · guimenufade

FadeIn/FadeOut GUI Menu and Text

This is what I need in sequential order:

  1. First a GUI Text fades in and after a couple seconds fades out.

  2. After the GUI Text fades out delay the next action for a few seconds.

  3. A GUI image fades in. After the image fades in delay the final action for a couple seconds.

  4. The GUI Menu (consisted of Buttons) fades in and is able to be clicked once the fade process is complete.

I'm not exactly sure how to go about doing this. The part that mostly confuses me is the fading part. I've tried looking at other scripts and examples, but none of them seem to be working.

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
0
Best Answer

Answer by Eric5h5 · Jan 09, 2011 at 07:04 PM

This works perfectly for fading GUIText and GUITexture objects. For OnGUI functions, however, you'd have to handle that quite differently.

Comment
Add comment · Show 8 · 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 logging_out · Jan 09, 2011 at 09:04 PM 0
Share

I've already looked at that exact script and tried it. Nothing seems to be working.

avatar image Eric5h5 · Jan 09, 2011 at 09:44 PM 0
Share

It works fine. Read the usage docs (and do what they say to do) and look at the examples.

avatar image logging_out · Jan 11, 2011 at 02:50 AM 0
Share

Well I've done exactly as it says and I keep getting this: "'use' is not a member of 'Fade'" I don't get it.

avatar image Eric5h5 · Jan 11, 2011 at 03:07 AM 0
Share

Then you have another class called Fade...you can only have one, unless you take extra steps to distinguish between them.

avatar image logging_out · Mar 03, 2011 at 01:30 AM 0
Share

Sorry it took me so long to get back to you. Okay so I finally got rid of the errors. I used the script on the bottom of the page but when I played my scene nothing happened. What am I doing wrong?

Show more comments

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

No one has followed this question yet.

Related Questions

Can I get a prefab to render in front of GUI buttons created in script? 1 Answer

When I pause my game and enable canvas and then resume my keyboard starts controlling the menu... 1 Answer

Repeat fade in and out 1 Answer

How to use options in the Dropdown menu UI? 2 Answers

How can I make the in-game menu remains unchange while changing scenes? 3 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