GUI, character selection & general menu

I need a script for a character selection menu i am creating for my game. This menu comprises of a GUI texture with gui textures laid over it which each have pictures of the characters on them. I want it so that when the player moves the move over one of these character images (gui textures) the texture switches to another texture (one that will be differently coloured but still a texture) and also to play a sound when it does this. I am also not sure how to get it so that when the player selects a character it will instantiate an object (the player model in this case). Thanks for the help.

I am new to coding in unity and i am still learning the basics which is why i need help with this. :slight_smile:

I think that will be an example of “function OnMouse”:

//what will happen when your players move mouse over one of your character

   function OnMouseEnter ()    
   {
   //here you write what should change (audio colors etc.)
   }

//what will happen when your players move mouse out one of that character
(this is necessary for your app to change after your player decides to choose different character

    function OnMouseExit ()
    {
    //colors back again etc.
    }

I hope it’ll help