再將替換鼠標的圖片拖曳到JavaScript上的mouse_Picture
var mouse_Picture:Texture; var mouse_Position:Vector2; function Start(){ Screen.showCursor=false; } function OnGUI(){ mouse_Position=Input.mousePosition; GUI.DrawTexture(Rect(mouse_Position.x,Screen.height-mouse_Position.y,16,20),mouse_Picture); }
0 ♥:
張貼留言