Help needed, setting pathfinding target coords for instances of a GameObject with a single script.
Hello, as the title says, I need help setting a target coordinate for instances of a GameObject. What i mean is I have one script that handles the output of the target coordinates for a pathfinding algorithm (Arongranbergs A* pathfinding project). The project is a turn based game on top of a tilemap. The target coordinate is set by a GameObject that follows the mouse after a unit has been clicked. My problem is that when i do this after I make an instance of a unit, they dont move, and the only unit moving is the original unit which should be frozen, as only instances of the unit should be present on the game world.
Also I am very new to unity and learning a lot, thanks!
Your answer
Follow this Question
Related Questions
How can I create an array of hexagon tile types, while building hexagon grid? 0 Answers
A* pathfinging problem 0 Answers
Spawning object with new random pathing.,Randomly moving after spawn 0 Answers
2D Top Down Tilemap with Functioning Tiles Data Structure / System 0 Answers
create gameboard with about 109 tiles for a turnbased game? 1 Answer