public GraphManager(GameObject parent) { self = new GameObject(PathManagerTag); self.transform.parent = parent.transform; graph = self.AddComponent<PathFinder>(); graph.initializeGraph(new Vector2(-26, -17), new Vector2(25, 15), 1.0f, 0.75f); }
public GraphManager(GameObject parent) { self = new GameObject(PathManagerTag); self.transform.parent = parent.transform; graph = self.AddComponent<PathFinder>(); graph.initializeGraph(new Vector2(-26, -17), new Vector2(25, 15), 1.0f, 0.75f); }