Question by
Nils_Leonhardt · Sep 09, 2021 at 10:16 AM ·
2draycastunity 2dtimer
Unity 2D send out X amount of "troops" that are equal to the number I put in to a specific target with raycast or something
I'm trying to create a short 2D game where you can wait x amount of time to get for example 50 "troops". This for now works fine, but now I need a script that detects the number of troops I have (at the startpoint) and send them out, just like small dots going from start point to an endpoint, but not one after another more like 5 in a row * 10.
Troops are counted upwards every second with a float, so could we use that or do I need something other for that?
Comment