I want to make an object spawn randomly in one of 10 places after I hold the mouse button, How could I do that?
Each object has a position associated with it. Create an array of 10 Vector3 objects corresponding to each of the possible positions. Next use the Random.Range(0,10) to generate a random integer between 0 and 9. This can then be used as the index into the array of 10 Vectors corresponding to each of the possible locations.