Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Making everything inside an object fade In/Out

Discussion in '2D' started by simugame, May 6, 2020.

  1. simugame

    simugame

    Joined:
    Mar 17, 2020
    Posts:
    15
    Hello everyone!
    I was wondering how can I make an object/image that contains let's say, a text or a button, and once the object fades out it will effect all the things that are inside it. In other words once the parent object/image fades in or out, the children objects will as well.
     
  2. adilbdk

    adilbdk

    Joined:
    Apr 25, 2020
    Posts:
    3
    Have you tried putting the objects into a canvas group and fade out the alpha of the canvas?
     
  3. simugame

    simugame

    Joined:
    Mar 17, 2020
    Posts:
    15
    YEP! it worked wonders :)