In this Unity tutorial we will separate and improve the 3D portion of our TouchLogic script (original link below) making it more optimized for better performance. I will rewrite and better explain a few things to solve any issues you may have had with the original.
Original TouchLogic: http://www.devination.com/2013/06/uni...
This code on my website: http://www.devination.com/2014/01/uni...
Google+ Community: https://plus.google.com/communities/1...
Twitter: / devination3d
Facebook: / unity3dtutorialsbydevin
To connect your device to unity, download the unity remote app and follow these steps: http://answers.unity3d.com/questions/...
Time Breakdown:
0:10 - Overview of how and what we will be doing
1:00 - How to make this script work for 2D colliders
1:21 - Why are we separating TouchLogic3D and TouchLogicV2?
2:25 - Creating the ITouchable3D interface
4:45 - Implementing our interface in our script for touchable objects
8:00 - Creating our TouchLogic3D script
10:00 - Checking what the raycast hit
12:28 - Checking if what we hit is actually touchable
15:12 - Demonstrating that our script recognizes what is touchable and what is not
16:23 - Removing SendMessage and calling functions directly
19:24 - Finished with the touch functions, moving on to the Anywhere functions
23:15 - Demonstrating why we need a touch2Watch variable
25:30 - Outro, thanks for watching :D
Sur cette page du site, vous pouvez voir la vidéo en ligne Unity TouchLogic3D Tutorial - Improved Touch Input durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Devin Curry 21 janvier 2014, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 8,349 fois et il a aimé 47 téléspectateurs. Bon visionnage!