I have to spawn different objects and it's crucial that no two objects get repeated. What I mean is, random.range should not get two simultaneous numbers same, otherwise the code spawns same objects sometimes. Here's a simpler code to help you understand what I'm trying.
void Update () {
    j = Random.Range (1, 4); // this should give j values like=(1,2,1,3,2,1)
                              // and not this = (1,1,2,2...) the numbers should not repeat simultaneously.
    Inst();
}
void Inst(){
    if (j == 1) {
        //instantiate obj1
    }
    else if (j == 2) {
        instantiate obj2
    }
    else if (j == 3) {
        instantiate obj3
    }
}
Thank You!
 
     
    