Hi, I’m trying to build an app for the Microsoft PixelSense (known before as Surface 2.0) It’s the touch table device. Apparently it uses some .NET libraries that are not easily linked with Unity. I found this answer from some time ago:
I was wondering if anyone has had any luck with an easier solution. Is there an official workaround for .NET 4.0 nowadays? Or a specific solution for the pixelsense?
So I built the Surface layer, it’s messaging to the ActiveX control for the Web player. I’m trying to use the SendMessage method but it doesn’t seem to work. I did all that is listed on my previous link.
I have this method in my SurfaceWindow:
I’m guessing I need an script attached to a GameObject called SurfaceObject, that has a method called SurfaceMethod and then I can do whatever I need to using the parameters.
Do you see anything wrong with this? My SurfaceWindow works as expected and is on top of the Unity application. I also enabled working on background for the Web build.