public override void OnCellEnter(int index) { if (!geoPosAnimator.Auto) { //Attempt to display path to new location worldMapGlobe.ClearCells(true, false, false); List <int> newPath = Pathfinder.FindPath(CellLocation.index, index); //NEW Pathfinder.PathIndices = newPath; if (newPath != null) { //Pathfinder.PathIndices = newPath; Pathfinder.PathIndices.Insert(0, CellLocation.index); } Pathfinder.ColorPath(Pathfinder.PathIndices, CellLocation.index); //worldMapGlobe.SetCellColor(CellLocation.index, Color.green, true); } }