Game Development Reference
In-Depth Information
With Default Cursor, you have the option of using a custom hardware cursor. This means you can
use an image of your choice that is directly handled by the machine's operating system. The cursor
will always be drawn on top, but it has a limit of 128 x 128 pixels in size. To use a particular image,
it must be marked as Cursor type in its import settings. If the Operating system can't support
custom cursors, it will drop back to its own default.
1.
Select the Corn Tassel image in the Project view.
2.
Duplicate it, and name it CornTasselCursor .
3.
In the Inspector, change its Texture Type to Cursor and click Apply (Figure 3-40 ).
Figure 3-40. The CornTasselCursor images set to Cursor Texture Type
4.
Return to the Player from Project Settings.
5.
Drag the CornTasselCursor image onto the Default Cursor thumbnail.
6.
Move the cursor over to the Game view to see your new cursor (Figure 3-41 ).
 
Search WWH ::




Custom Search