Hi all. I am trying to implement a menu system, which basically works like this:
- User grabs an image widget, which represents a 3D mesh.
- When the image widget is dropped on the level, an object from that mesh will be created.
My problem is, OnDrop function is not called when the widget is dropped on the level, though I observe it being fired when the widget is dropped on other widgets and I also observe the mesh being created on the level. So it basically works fine when the widget is dropped on another widget, but does not work when it’s dropped on the scene.
I don’t know if this is the expected behaviour but I could not figure out how to accomplish what I aim for.
Thanks for any help.