Popup Textures for game objects

I’m trying to design something where you can click on a game object and an image pops up, but then you can click an arrow and go to the next image, all in one click on the game object. I have this code which pops up a single image, but I want to incorporate more. Any help is appreciated!

var popupTexture : Texture2D;
private var paperPopup : PaperPopup;

function Start () {
paperPopup = FindObjectOfType(PaperPopup);

if (popupTexture == null) {
    popupTexture = renderer.material.mainTexture;   
}

}

function OnMouseDown () {
paperPopup.Show(this);
}

Sounds pretty simple :slight_smile:

All you have to do is set a boolean to true if you click on the object, and then inside OnGUI() make your textures, buttons etc. appear if the boolean is set to true.