I was following a tutorial where the gameobject was to spawn randomly within the screen. The code I used is as follows.
But on running the game it stays in the same location
I was following a tutorial where the gameobject was to spawn randomly within the screen. The code I used is as follows.
But on running the game it stays in the same location