prime31 / TouchKit

Gestures and input handling made sane for Unity
906 stars 137 forks source link

Example scenes do not work with newer versions of Unity #65

Closed bhison closed 7 years ago

bhison commented 7 years ago

As someone just getting my head in to this library, it doesn't help that everything is built using some custom UI scripts rather than the Unity UI system introduced in Unity 5. This has rendered the examples almost entirely non-functional.

prime31 commented 7 years ago

The UI used in the demos is absolutely standard Unity immediate mode GUI. It is the absolute easiest way to have any example code as there is no disconnect between the code for the button and the code that runs when a button is pressed. Using a Canvas you end up with a pile of extra GaneObjects all connected by invisible magic to the code that runs when buttons are pressed.