用于设置光标(鼠标指针)的光标 API。
支持 macOS、Windows 和 Linux 上的硬件光标。在不支持的平台上回退到软件光标。
Windows Store Apps: Supports only one hardware cursor, set via PlayerSettings.defaultCursor, cursors created at runtime using Cursor.SetCursor are treated as software cursors.
Android and Chrome OS: Support custom hardware cursors on version 7.0 and later. There is no hardware or software custom cursor support before 7.0.
用作光标的纹理应在其导入设置中作此标记。
SetCursor | 将鼠标光标设置为给定纹理。 |