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 Mystigan · Jan 14, 2015 at 01:01 PM · unity 4.6

Canvas group component issue in unity ngui

Hello , I am trying to fade in a UI which has several buttons and images , so I am adding a canvas group to the container (Empty) of all the ui elemnents in menu and animating its alpha to fade the menu in the buttons no longer works, am I doing something wrong or its a bug?

alt text

canvasgroup.png (21.7 kB)
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 Noah Dyer · Jan 14, 2015 at 07:47 PM 0
Share

Where's your code to handle the fade? Your screenshot show it only fully visible.

avatar image Mystigan · Jan 15, 2015 at 06:43 AM 0
Share

There is no code I just use a simple animation which plays on start and is not looped so the menu just fades in when I make the game object visible through a script.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Mmmpies · Jan 14, 2015 at 08:15 PM

Try moving the UI button to the bottom item on the base canvas, for the new UI the lower down in the hierarchy something is the higher it is on the UI. Or the closer it is to the camera if that makes more sense.

So if you move something to the bottom in the hierarchy you can rule out the most common issue which is a transparent panel over the buttons blocking the mouse click.

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 Mystigan · Jan 15, 2015 at 06:45 AM 0
Share

Thanks , but that was the first thing I did, Every thing works fine before I add the canvas group just after adding the group everything stops working.I mean Currently I am fading in every single UI items and its quite tedious so I thought I could use the canvas group to control the alpha of all the UI elements as one.

avatar image blamejane · Jun 07, 2015 at 10:04 PM 0
Share

Did you find a solution to this as I'm having the same problem. I have canvas -> panel -> button (4 ea) and if I use fade animation on the panel canvas the buttons will display but they are not intractable. Nothing else is going on in the animation. I've tried several attempts at creating new panel with new buttons and new animations and it just won't work

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How to get stereo webcam as Object texture? 0 Answers

How can I make an image maintain it's aspect ratio in Unity UI? 2 Answers

OnMouseUp open an external file 0 Answers

bug or a feature ?? 0 Answers

Unity4.6 gui working with sprites on different resolutions 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