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
Auf dieser Seite können Sie das Online-Video Unity TouchLogic3D Tutorial - Improved Touch Input mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Devin Curry 21 Januar 2014 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 8,349 Mal angesehen und es wurde von 47 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!