//用指定图片替换鼠标指针
public Texture mouse;
void Update(){
Screen.showCursor=
false
;
//隐藏鼠标指针
}
void OnGUI{
Vector2 msPos=Input.mousePosition;
//鼠标的位置
GUI.DrawTexture(Rect(msPos.x,Screen.height-msPos.y,20,20),mouse);
}