I made a menu for a small Unity game but I have a small something I would like to add, The problem is I don't know how to. Basically what I want to achieve is to have buttons on my score history page in the menu that will change the texture of the page itsself, this because we have 4 tracks (yes its a race game) and I don't want to have to make 4 score history levels. So is there someone who can help me to do this?
The simple way to implement this is to create a public reference to a Texture2D and assign it the texture you want in the Inspector. From there when you want to change your texture you just have a reference to the GUITexture you want to swap textures of and assign the new texture using this:
myGUITexture.texture = myNewTexture2D;