How to spawn coins in front of the player....??

helo, I want to create a runner game i have done with modeling and animation all the objects and now my player runs the scenes are ready and now i to spawn coins in front of the player as i m a bignner i dont know much about the scripting in unity3d. Thanks a lot in advance for whatever help i get from you. Thanks a lot…!

I haven’t done this yet, but I making a runner too, my solution is to make sections so this sections have a script with their respective width and height and every time you pool (pool object) one you can set the coins in the section position between its width.