IEnumerator project problem
So I've been following this 2D course from Udemy and I run into a problem while using IEnumerator for respawning projectiles with delay while holding down the Space. What's happening is that instead of spawning projectiles with a delay, it seems like function overwrites it's self and spawns multiple instances without any period between them. Thing is in the course they did the same thing and for some reason they have no issue with it. Here is the code and game :
.
Your answer
Follow this Question
Related Questions
Spawn game objects from array to array of transforms 0 Answers
Detect when edge of the map is in camera view and dont random spawn enemy inside of it 0 Answers
Can I spawn with an array in order? 2 Answers
Player is bouncing when colliding with wall object 0 Answers
MoveToward a point then movetoward another one with same keyInput 0 Answers