Visual indication mode for Drag & Drop operation.
Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.
See Also: DragAndDrop class.
None |
No indication (drag should not be performed). |
Copy |
Copy dragged objects. |
Link |
Link dragged objects to target. |
Move |
Move dragged objects. |
Generic |
Generic drag operation. |
Rejected |
Rejected drag operation. |