Hi guys I’m struck at this so please help me out. thank in advance.
function OnGUI(){
GUI.skin = mySkin;
mySkin.button.normal.background = unlockTexture;
GUI.Button (Rect (120,0,300,150), “1”);
GUI.Button (Rect (240,0,300,150), “2”);
GUI.Button (Rect (360,0,300,150), “3”);
}
would someone explain why when i hover my mouse over the button there a different texture appear and will replace the my original texture. I realize this is the on hover texture but the problem is that the on hover is two timer bigger than my original texture and it overlap the other button. does anyone know how can i fix this?