Is there is a way to start animation, change the color and play a sound when mouse pointer is in the text and only using 1 script?

Is there is a way to start animation, change the color and play a sound when the pointer is in the text? then when the mouse leave it will get back to normal

animation name : menuanim1

normal color : white

changed color : blue

sound name : mousebeep ( what type of sound? is it listener ? , audio source? )

there is 3 button in the main menu

can that 3 button do a specific commands?

1st button = start game ( scene 1 )

2nd button = etc ( still thinking what to add ) (scene 2 )

3rd button = exit

Hopefully your code will easily learn by me =D thanks if you helped i really need it because i have a headaqe searching google , youtube 1 whole day and i dont even get the code correctly and i dont understand it.

thanks.

You can use function OnMouseOver() to do things in code on an object. It works very well, just know that it only detects Colliders and GUI Elements. I don’t think it works on text, but all you have to do is put a collider that encompasses the text, and your problems should be solved. I assume you know how to play animations, sound, and change colors in code.