Hi all, i have written a script for when i hover over an object such as a cube, it changes the guitexture to a hand, then when i take my mouse off the object it returns back to its original state. i attached it to a GUItexture and it didnt work, and i did it to the cube and it didnt work, heres the script. Any editing or advice is appreciated
var hoverTexture : Texture;
function OnMouseEnter() {
guiTexture.texture = hoverTexture;
}