UnityWindowsFileDrag-Drop

by Bunny83

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

149 Stars 31 Forks Last release: Not found MIT License 9 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.