Hi,is there any chance that uGui can be used with TouchScript?It seems still Unity does not support multitouch on win7 / win8 standalone! The new UI systems behavior on win7 multitouch device is like a normal mouse cursor...

At the moment I use colliders on ui elements to work with touchscript, not bad at all, but all those handy scripts (scroll rect, button, slider etc.) cannot be used!

Maybe a custom touch layer could do the job??

N3uRo:

We need this!

There is a "BaseInputModule" class where you inherit and you can process all events there.

Here you have some examples ("stramit" is Tim Cooper from the UI Team in Unity):

Yes, TouchScript should definitely work with UGUI.But what do you want to do with the GUI? Do you want to have windows touch or TUIO work with GUI elements? Do you want to be able to use gestures on GUI elements?

valyard wrote:Do you want to have windows touch or TUIO work with GUI elements?

Yes, exactly! It would be great if the UGUI event system would notice touchscript, so all the new UI elements could be used with multitouch on win7 / win8 out of the box (like on mobile platforms).I would like to use ui elements like slider, drag and drop elements, scroll etc., and there will come more and more since some of the UI stuff will be open source...

valyard wrote:Do you want to be able to use gestures on GUI elements?

This would be even more powerful!At the moment I use a 3D object as parent and a canvas with world space as child, so I can drag, rotate, scale the canvas. The canvas has different elements in it, like "image", "raw image", "button". I use press gesture (with collider on buttons) to make use of the gui buttons...

I think both would be cool, support for the new ugui standard events (s. attachment) and the power of touchscript gestures on ui elements!

Today I found this wrapper script (https://github.com/InteractiveLab/TouchScript/issues/6) which makes NGUI compatible with touchscript.It works really well, NGUI elements etc can be used with touchscript input and even combined with gestures! It is very easy to use, it adds a touch layer to the touchmanager.

Could a wrapper-script used in a similar way like this used for a UGUI and touchscript ?