GUI.skin = storageSkin;
GUI.DrawTexture (new Rect (xTestStart, yTestStart, xTestFinish, yTestFinish), background, ScaleMode.StretchToFill, true, 0);
if (GUI.Button (new Rect (1125, 25, 40, 40), “”))
{
GUI.DrawTexture (new Rect (xTestStart, yTestStart, xTestFinish, yTestFinish), background, ScaleMode.StretchToFill, true, 0);
}
This is the code I have and the first drawTexture will appear on the screen but the other won’t. This seems really odd and have no idea what could possibly be the cause. Can someone help me? Is there some rule I have missed? Any help is appreciated