Draw navigation line between player and goal in game scene

I’m working on a 2d game topdown ,I want to draw a navigation path using Line Renderer in the game. game object follows the path and rotate. I mainly use Apathfinding for this .but I don’t know how to implement by using Apathfinding because I am a beginner . if there is any example script or video tutorial, it will help me a lot.

thank you.

like in screenshot…

See your other thread at Drawing a path in-game - #8 by paulygon