- Home /
Question by
patrick_scheper · Oct 27, 2016 at 08:02 AM ·
c#uicanvasalpha
How to change the alpha of the whole canvas?
Hi there.
I am trying to fade a whole canvas in world space, but I am not even sure if it's possible to change the alpha value of the whole canvas? (Of all images, buttons etc inside of it but that would mean I need to create a big array of objects, that's the other solution I guess.) I just hope there is a better way of doing it.
Thanks in advance, Patrick
Comment
Best Answer
Answer by tanoshimi · Oct 27, 2016 at 08:05 AM
Add a canvas group component to the parent canvas and set the opacity on that.
Your answer
Follow this Question
Related Questions
CanvasGroup.alpha hides the UI in Scene view but not in game view. 1 Answer
How to hide Canvas? 1 Answer
UI Fading in flicker 5.5 1 Answer
Hidden Canvas, doesn't disable interaction with buttons. 1 Answer
How to change anchor? 1 Answer