i have some code which will spawn several hazards in specific locations but the code is rather long. is there a way to shorten it down?

using UnityEngine;

using System.Collections;

```
public class PowerDown : MonoBehaviour {
public GameObject hazard;
void Start ()
// function OnTriggerEnter(collision: GameObject )
// { if(collision.transform.tag == "PowerD") { ScriptReference.active = true; } }
{
Vector3 spawnPosition = new Vector3 (-9, 7, 0);
Quaternion spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (-8, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (-7, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (-6, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (-5, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (-4, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (-3, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (-2, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (-1, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (0, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (1, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (2, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (3, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (4, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (5, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (6, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (7, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (8, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
spawnPosition = new Vector3 (9, 7, 0);
spawnRotation = Quaternion.identity;
Instantiate (hazard, spawnPosition, spawnRotation);
}
}
```