Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Mask Transition Effect [Solved]

Discussion in 'UGUI & TextMesh Pro' started by Callynico, Mar 18, 2024.

  1. Callynico

    Callynico

    Joined:
    Mar 14, 2024
    Posts:
    4
    Hi!

    I would like to know how could I make a transition like this one: The circle acts as a mask, revealing specific game objects placed inside the circle while hiding any objects placed outside.
    I've already succeed making it but as a child so the UI is scaling up according to the parent, which I don't want.
    I want the mask to be separate from the two game objects (in terms of parent/child). This way, I can easily switch which object is displayed
    How to do so?

    Thank you!
    Captura de pantalla (1698).png
     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,597
    So you know, this is the 2D forum, not the UI forum which is the appropriate forum.

    I'll move your post for you.

    Thanks.
     
    Callynico likes this.