title: Spawning several random objects in several random positions only when a scene begins
body: <p>I want spawning several random objects in several random positions only when a scene begins. How can I do it? This is my code, but only appears one object.</p>
  
  <pre><code>using UnityEngine;
  using System.Collections;
  
  public class SpawnItems : MonoBehaviour
  {
      public Transform[] SpawnPoints;
      public GameObject[] Objetos;
  
      void Start () 
      {
          int spawnindex = Random.Range (0, SpawnPoints.Length);
          int objectindex = Random.Range (0, Objetos.Length);
  
          Instantiate (Objetos [objectindex], SpawnPoints [spawnindex].position, SpawnPoints [spawnindex].rotation);
      }
  
  }
  </code></pre>