How to randomize game aobject such as subway coins in unity
<p>How to randomize game aobject such as subway coins in unity </p>

<pre><code>void Start () {
    game_over.text="Game Over";
    Ethan = GameObject.Find ("Ethan");
    coin = GameObject.Find ("coin");
    Vector3 position = new Vector3(Random.Range(15, 500), 0, Random.Range(10, 50));

    for (int i=0; i&lt; Random.Range(10,555); i++) {
        Instantiate (coin, position, Quaternion.identity);
    }
</code></pre>