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. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question Inverted mask inside a scrollview

Discussion in 'UGUI & TextMesh Pro' started by Racines, May 11, 2021.

  1. Racines

    Racines

    Joined:
    Jan 20, 2014
    Posts:
    31
    Hello,

    Is there a way to have an inverted mask working inside a scrollview that also using a mask?

    I have tried this
    but it's not working inside an other mask.
    I have also tried this https://github.com/mob-sakai/UnmaskForUGUI, but it's only reversing what it's inside the rect transform and in my use case it's not what I want.

    So basically I want to have an ui element be masked normally by it's grand parent and inverse masked by it's parent.

    Any idea?
     
  2. moos_unity

    moos_unity

    Joined:
    Mar 12, 2019
    Posts:
    3
    Did you find a solution?
     
  3. Racines

    Racines

    Joined:
    Jan 20, 2014
    Posts:
    31