- Home /
Question by
Pelfer · Jul 12, 2019 at 11:48 PM ·
uivisibilityelements
Any way to control the visibility of UI stacked elements?
I am making a grid-based map designer with UI elements and each tile has a child named "features". Features is an empty GameObject that will have all features of the tile childed to it. This all works well and good, with the features appearing on top of the tile. However, when a feature hangs off of a tile it is often obscured by a different tile. I am wondering if there is a way to control which "layer" each element is on without?
Comment
Best Answer
Answer by k234234w · Jul 12, 2019 at 11:54 PM
You could add a canvas to the individual ui elements which overrides the sorting layer.