Загрузка...

New Input System in Unity | Player Movement | Day 3 🚀| How to move the player in Unity?

If you want to move a player in unity then follow these steps:-
1. First of all, install the Input System.
2. Go in project window, create an input action.
3. Create an action map and its Action in the input system
4. Then generate its C# script.
5. Create another script and access the C# script that you created earlier.
6. Then go to the player inspector window
7. Add Player input Component
8. Drop that input action in it.
9. Add the newly created script( step 5) in player inspector window .
10. Write the script( in step 5 script) as i mentioned in this video.
11. Make sure that your player has a Rigidbody component. It is important.
For further information, see the following videos.
Day 1 - https://youtu.be/msBQ7yOiD3c
Day 2 - https://youtu.be/QZ79hwDUAVo

Also connect with me on IG: @annkitt_11
https://www.instagram.com/annkitt_11/
#gamedevelopment #computerscience #computer #3dgamedevelopment #gamingvlogger #gamedevblog #workfromhome #gamingsetup #movement
#player

Видео New Input System in Unity | Player Movement | Day 3 🚀| How to move the player in Unity? канала Code Hunger
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять