Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

you could do this if you want

Vector2 newCoinPosition = new Vector2(Mathf.Random(-100,100),Mathf.Random(-100,100));

Instantiate(Coin, newCoinPosition, Quaternion.Identity);


hope it helps!