This Unity touch tutorial for Unity 4.6+ will show you how to call custom functions on any object in your scene when you touch or click on UI elements. This is perfect for menus, on-screen touch controls, and anything else that you want to happen when you touch/click on UI buttons.\r \r See all videos on my website: \r Twitter: \r Google+ Community: \r Facebook: \r \r Time Breakdown:\r 0:45 - Im planning on redoing some of my old TouchLogic videos to work with the 4.6 UI\r 1:04 - How to create a GUITexture in Unity 4.6 (if you still need to use that old system)\r 1:45 - Creating a 4.6 GUI Button, explaining what the various gameobjects do\r 2:29 - Click / touching the button with the Unity remote. multitouch is limited on the Unity Remote\r 3:18 - Multitouch does work if you build the game and play it on your mobile device\r 3:50 - OnClick and the Event System\r 4:30 - Creating a custom script to call OnClick\r 5:53 - Image class is found in the UnityEngine.UI namespace\r 7:40 - Demonstration of calling our custom function OnClick\r 8:20 - Adding an EventTrigger component for more event types\r 9:55 - Demonstration of multitouch on an Android build\r 10:52 - Outro, thanks for watching :D
Écris le tout premier commentaire