So, I have an enemy, a helicopter, that flies in a loop when it reaches the end of the screen. But, it’s kind of boring to have it just loop around in the same place. Is there some code I could write that would limit the helicopter to spawn in the screen area, but in a random place? Thanks!
Use
Random.Range(minimumValue, maxmimumValue);
use random y position for height