I'm trying to constantly spool any of two diffrent objects randomly, from a position of a empty GameObject.i try following, it makes only first from list.Help

  1. List item

using System.Collections.Generic;
public class poolingscript : MonoBehaviour {

public	GameObject bullet;
public	int listsize ;
public	List<GameObject> bullets = new List<GameObject>();

// Use this for initialization
void Start () 
{
	for (int i=0; i<listsize; i++) 
	{
		GameObject bull = Instantiate(bullet)as GameObject;
		bull.SetActive(false);
		bullets.Add(bull);
	}

	InvokeRepeating ("fire", 2.0f, 1.0f);
	}

void fire()
{
	for (int i=0; i<bullets.Count; i++) 
	{
			bullets*.transform.position = transform.position;*

_ bullets*.transform.rotation = transform.rotation;_
_ bullets.SetActive(true);
break;
}
}*_

* }*
_*

Remove the break; statement from your fire function loop.