How to resize an object's texture?

I’m instanciating my objects like this:

void generateObjects(){
		Texture2D[] cardTex = cardList.ToArray();
		float x0 = -60.4f;
		float x = 154.2f;
		float cardX = x0;
		float cardSize = 19.4f;
		float totalSize = cardTex.Length * 0.5f * cardSize;
		float spaceBetweenCards = (x - totalSize) / (cardTex.Length * 0.5f + 1f);
		int pixelX=300;
		int pixelY = 300;
		for (int i=0; i< cardTex.Length; i++) {
			if (i == cardTex.Length / 2) {
				pixelY = 100;
				pixelX = 300;
				cardX = x0 + spaceBetweenCards;
			}
			GameObject card = Instantiate(cardSeqPrefab,cardSeqPrefab.transform.position, cardSeqPrefab.transform.rotation )as GameObject;
			Texture2D auxTex = cardTex*;*
  •  	card.name = i.ToString() + "option";*
    
  •  	card.guiTexture.texture=auxTex;*
    
  •  	card.guiTexture.pixelInset = new Rect(pixelX,pixelY,200,200);*
    
  •  	pixelX = pixelX + 210;*
    
  •  	cardX = cardX + cardSize + spaceBetweenCards;*
    
  •  }*
    
  • }*
    How can I resize the size of the textures of the objects I instantiate?

I just discovered that the last 2 arguments of Rect() does what I want to do…
Thanks anyway people!