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); } |
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); } |