So, for my start menu, I’m trying to have a custom mouse cursor icon, and it’s there, but it’s hidden behind my background for the start menu. Is there any way to move it “up” a layer? Here’s the Javascript code for the mouse:
#pragma strict
var icon : Texture2D;
function Start() {
Screen.showCursor = false;
}
function OnGUI() {
var mousePos : Vector3 = Input.mousePosition;
var pos : Rect = Rect(mousePos.x,Screen.height - mousePos.y,icon.width,icon.height);
GUI.Label(pos,icon);
}