- Home /
Stop Canvas UI overlap
Is there a way to prevent overlapping UI Canvas elements? I'm developing a system where the canvas is filled with a bunch of text labels and position their self over ingame objects. Problem is when a lot of ingame objects are grouped up the text on the UI will overlap. Looking for a solution to detect if two or more UI text elements are overlapping, then move them away from one another so they're no longer overlapping. Sometimes there will be instances of maybe 10 text elements overlapping.
Comment
What you want is what LayoutGroup (HorizontalLayoutGroup, VerticalLayoutGroup, GridLayoutGroup, ) does?