I have a Issue with rotating an spawnpoint with a random angle. The problem is, that I get angles which clearly are not defined through my Range. Source:
spawnPoints[spawnIndex].Rotate(0, 0, Random.Range(-20, 21));
In the Inspector, the Spawnpoints are adapting values for the z rotation like 45, 34 -56 and so on. But they arent defined in that range?
Thanks in advance