У нас вы можете посмотреть бесплатно Unity Touch Follow Tutorial или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
This Unity C# tutorial will show you how to make a game object look at and follow your touch. Visit my website to see the code: http://www.devination.com/2013/11/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:00 - Thank you! 0:27 - Technical Difficulties with Youtube 1:55 - Overview of what we're doing. Making an object follow your touch on screen 2:40 - Important note about the orientation of your character or object 3:25 - Inheiriting from TouchLogic and setting up variables 5:00 - Setting up our function definitions 7:40 - Setting our finger vector with ScreenToWorldPoint 8:00 - Setting up a temp variable with a z value appended to our touch position 9:25 - Going to the Unity Scripting Documentation to see what we need the z value for 9:44 - Calculating that z value 10:46 - Make our object LookAt our finger 11:15 - Demonstration of the objects looking at our finger in Unity 11:40 - Make the object move towards our finger 12:50 - Demonstration of the object moving towards our finger 13:16 - Outro, thanks for watching