error CS0201

Hey guys,

I’m trying to get several prefabs to instantiate under several parent objects.

This is my code:

public GameObject [] shipSystem;

public Transform [] hardPoint;

void Start ()
   {
      for (int i = 0; i = 1; i++)
         {
            GameObject  _installSystem = (GameObject)GameObject.Instantiate(shipSystem*);*_

installSystem .transform.parent = hardPoint*.transform;*
}
}
And I get this compiler error:
error CS0201: Only assignment, call, increment, decrement, and new object expressions can be used as a statement
Does anyone know what I’m doing wrong?
Thanks.

The for loop expression needs a loop test condition. Instead it is showing a second assignment:

  for (int i = 0; i = 1; i++)

Usually the form is something like:

  for (int i = 0; i  < endValue; i++)