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!