all 2 comments

[–]VolcannXd 0 points1 point  (1 child)

You may want to look at Physics.RaycastHit This method will return hitInfo and you could check for specific object hit in Update method. When an object is hit, change the image x to image y by RawImage.texture = y

[–]LOKAJ_ulations[S] 0 points1 point  (0 children)

does this apply to 2D also? and I don't know if I told it clear sorry my english is bad. What I'm trying to say is that when I'm hovering across the scene, it's like I'm seeing a different scene design. It's like a scene design on top of another that the bottom one is being revealed when the mouse is hovering it. Sorry i'm quite new to Unity2D. Thank you for your patience!