鼠标的图像

来源:互联网 发布:会员制营销软件 编辑:程序博客网 时间:2024/04/30 07:21
var mouse_pic:Texture; 
function Start(){ 
    Screen.showCursor=false; 
}
function OnGUI(){ 
    var mouse_pos=Input.mousePosition; 
    GUI.DrawTexture(Rect(mouse_pos.x,Screen.height-mouse_pos.y,16,20),mouse_pic); 
}

原创粉丝点击