graph example with A* algorithm in Unity3D