Exemple #1
0
        private void Start()
        {
            grid = new GridConnected2D(width, height);
            grid.Generate();

            searcher = new Grid2DSearcher(grid);
            StartCoroutine(searcher.BreadthFirstTravelPathTrackAstar());
        }
Exemple #2
0
        public Grid2DSearcher(GridConnected2D grid)
        {
            this.grid = grid;

            //GridCell2D.BecomeTarget += SetTarget;
        }