Desktop application + Database + Drag Drop

Hello everyone,

I’m usually a flash developer, but I’m about to begin building an application that is going to have some heavy 3d effects and the client proposed Unity as the development tool.

I have a couple of questions about things I don’t know if they are even possible.

1 - I need a database on an online server. Is it possible to connect Unity to a mysql database via php? I would need to write and retrieve links to images, urls, videos,…
2 - Is it possible to make Unity react upon drag drop from the user’s desktop, as if I drag an image or a text into my application or my application icon?

I’ll appreciate if someone could point me in the right direction to solve these questions.

Thanks a lot.

Hi, welcome to the forum!

You can certainly connect to a database via a webserver using the WWW and WWWForm classes (see here for a simple example of this). However, I don’t think there is a way for a Unity app to accept a file dropped on its window, unfortunately.