This shows how to rotate and object using key strokes.
First, drag your object from Assets to the scene.
Second, attach a new script.
Add Keycode type variables to the script and designate corresponding keys in the Inspector.
Use eulerangles to perform the rotation.
Смотрите видео Unity C# How to rotate an object using key press онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Design and Deploy 16 Август 2015, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 43,653 раз и оно понравилось 237 людям.