Example #1
0
 void Update()
 {
     targetNode = grid.worldPointToNode(new Vector2(player.transform.position.x + 0.05f, player.transform.position.y + 0.05f));
     findPath();
 }