Update Readme.md
[AI-Pathfinding.git] / Assets / Connection_Data.cs
blobf501afd539a452581374698118b5c373a79c9c1f
1 using System.Collections;
2 using System.Collections.Generic;
3 using UnityEngine;
5 public class Connection_Data {
7 public GameObject connection;
8 public GameObject parent;
9 public float weight;
10 public bool traveled = false;
13 public Connection_Data(GameObject node_connection, float edge_weight, GameObject parent_node)
15 connection = node_connection;
16 weight = edge_weight;
17 parent = parent_node;