how to assign 2 texture for 2 button using 1 gui skin

how to assign 2 texture for 2 button using 1 gui skin

1 texture
2 texture

button1= 1st texture!
button2 =2nd texture!

public GUISkin myskin;
void OnGUI()
{

	GUI.skin=myskin;

	
        GUI.Button(new Rect (50,20,50,50),"");
        GUI.Label (new Rect (60,72, 100, 45), "Shirts");
        //   GUI.skin=null;
	  
        GUI.Button(new Rect (130,20,50,50),"");
      
GUI.skin=null;

the probelm is now is the texture is applying on 2 buttons

i want to use each texture for each button!

but whith the help of gui skin!

You can do that but you have to create an extra style in your gui skin and give it a name “button2” (very imaginative indeed). However, the bad part is you have to manually set the gui style every time you draw the button like,

GUI.Button(rectButton, "Click!", GUI.skin.GetStyle("button2"));