- Home /
Question by
metinevren · Feb 21, 2018 at 04:02 PM ·
spritespriterenderermaskmaskingsorting
Mask Interaction outside of a Sorting Group
I have a sprite for a flash effect. I want it to be only drawn on the objects and not on the background. I added a sprite mask to each part of these objects, and set the mask interaction type of the flash effect sprite to "Visible Under Mask". But the objects consist of seperate sprites, and I added a Sorting Group component to align them properly.
The problem is the flash effect sprite has to be child of that sorting group to be visible. Also I want the flash effect sprite to be visible on other objects too (both plane and pilot, or on other planes too), so I cannot make it child and get away with it. What would be a solution to this?
111462-example.png
(316.4 kB)
Comment