SHOW:
|
|
- or go back to the newest paste.
| 1 | - | //****** Donations are greatly appreciated. ****** |
| 1 | + | |
| 2 | - | //****** You can donate directly to Jesse through paypal at https://www.paypal.me/JEtzler ****** |
| 2 | + | |
| 3 | var cursorSizeY : int = 16; // Your cursor size y | |
| 4 | ||
| 5 | function Start() | |
| 6 | {
| |
| 7 | Screen.showCursor = false; | |
| 8 | } | |
| 9 | ||
| 10 | function OnGUI() | |
| 11 | {
| |
| 12 | GUI.DrawTexture (Rect(Event.current.mousePosition.x-cursorSizeX/2, Event.current.mousePosition.y-cursorSizeY/2, cursorSizeX, cursorSizeY), yourCursor); | |
| 13 | } |