Draw an auxiliary icon follows the cursor globally. More...
Inherits EditorWindow.
Properties | |
| static DragAndDropVisualMode | mode [get, set] |
The visual mode of cursor to show, to set this will override the icon. More... | |
| static Texture | icon [get, set] |
The texture of cursor to show, to set this will override the mode. More... | |
| static Vector2 | offset [get, set] |
| The pixel offset between the auxiliary icon and the system cursor. More... | |
| static Vector2 | size [get, set] |
The pixel size of the auxiliary icon, set Vector2.zero to use the default texture size. More... | |
Draw an auxiliary icon follows the cursor globally.
Used to provide a cross windows hint for reasons below:
DragAndDrop.visualMode only works when using UnityEditor.DragAndDrop system.EditorGUIUtility.AddCursorRect() only applies inside the current window.
|
staticgetset |
The visual mode of cursor to show, to set this will override the icon.
|
staticgetset |
The texture of cursor to show, to set this will override the mode.
|
staticgetset |
The pixel offset between the auxiliary icon and the system cursor.
|
staticgetset |
The pixel size of the auxiliary icon, set Vector2.zero to use the default texture size.