Drag & drop files on gameObjects at runtime.
The Unity Editor has a great system to import Textures or 3D models: You simply drag the files on the editor and let them loose. But this will not work at runtime.
Wouldn't it be cool to let the users drag an image from their computer onto a gameObject to change it's appearance?
Drop on Unity does just that!
Allow end users to drag their own images onto gameObjects while the game is running.
IMPORTANT WARNING:
- Drop on Unity works only on WebGL and WebPlayer.
- Unity Web Player only works on Mac, because under Windows it blocks drag & drop.
- You can not test your it in the Editor, because the Editor has it's own drag and drop implementation
Implementing Drop on Unity requires nothing more than dragging a prefab in your scene and adding a tiny script to the gameobjects that will accept the user texture.
Here's a demo in WebGL that shows a simple room. As a user you can change the decoration of the room. Simply by dragging your own image on the picture frame on the wall. Or you can change the fabric of the sofa if you drag a nice texture on it.
Drop on Unity accepts all file formats by default, but only png and jpg are implemented to be converted to Textures.
Other file formats are imported as text string or byte array for further handling. (for this you can use Simple OBJ or Simple Collada. Ask us if you need help with that)
WebGL demo.
Online documentation.
Forum support thread.