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.

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:
    31
    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?