TextureCombiner/Assets/Plugins/UnityWindowsFileDrag-Drop
max 1165a4e4a8 Init.
P4 -> GitHub sync.
2020-11-01 03:54:32 +01:00
..
B83.Win32.cs Init. 2020-11-01 03:54:32 +01:00
B83.Win32.cs.meta Init. 2020-11-01 03:54:32 +01:00
LICENSE Init. 2020-11-01 03:54:32 +01:00
LICENSE.meta Init. 2020-11-01 03:54:32 +01:00
README.md Init. 2020-11-01 03:54:32 +01:00
README.md.meta Init. 2020-11-01 03:54:32 +01:00

UnityWindowsFileDrag&Drop

Adds file drag and drop support for Unity standalone builds on windows.

It uses the GetMessage hook to intercept the WM_DROPFILES message

See the "FileDragAndDrop.cs" or "ImageExample.cs" file for an example usage.

Due to too many issues in the Unity editor (causes random silent crashes) I have disabled the hook when tested in playmode inside the editor. So this feature only works in a build.