How can I hover over a button that displays another texture2d in another part of the screen?

I have created a menu scripted with GUi.Buttons in a GUI.Window. But I need pictures to change on another area of the screen to change between textures as I rollover the buttons. I have the script attached to the MainCamera.

I’m working with C#.

What do I need to do?

You can use Rect.contains method. here you provide your rect on which you want to detect hover image. then if your mouse position is inside this rect then you can draw texture at any wanted position.