Please help on this small issue please

Hii i want to get a random value of pos from the three vectors as shown below, Please help me on this

//Vector3 pos = randomly select from pos1 or pos2 or pos 3

//clone = Instantiate(enemy, -1.55, 0.65, -8, transform.rotation) as GameObject;
		Vector3 pos1 = new Vector3(1f,2f,1f);
		Vector3 pos2 = new Vector3(3f,6f,9f);
		Vector3 pos3 = new Vector3(0f,0f,5f);
		//Vector3 pos = randomly select from pos1 or pos2 or pos 3
		clone = Instantiate(enemy, pos, transform.rotation) as GameObject;
        print("hello i entered the trigger");

thanks a lot in advance

Create an array to hold the 3 vectors and then select a random index from the array

Vector3[] positions = {new Vector3(1f,2f,1f),new Vector3(3f,6f,9f),new Vector3(0f,0f,5f)};
clone = Instantiate(enemy, positions[Random.Range(0,3)], transform.rotation) as GameObject;

Please try to put more descriptive subjects for your post

Putting your vectors in an array and randomly choosing an index would be the easiest way.

See example in Script Reference:

http://unity3d.com/support/documentation/ScriptReference/Random.Range.html

Oops, ivkoni beat me to the punch…