Search Unity

Pathfinding to draw lines for UI?

Discussion in 'UGUI & TextMesh Pro' started by ysleungrockman, Nov 10, 2021.

  1. ysleungrockman

    ysleungrockman

    Joined:
    Mar 16, 2014
    Posts:
    32
    I am currently using the Unity UI system to draw something like a flowchart automatically. On the flowchart, arrow using line renderer will be drawn between boxes. However, I don't want the arrow to be overlapping with the boxes and they should be drawn avoiding them. Because of that, I need a pathfinding system to be compatible with UI that can detect UI objects. Is there any solution for that?