3D Platformer in Unity - NEW INPUT System Tutorial

preview_player
Показать описание
In this video, you will learn how to implement the new input system in Unity, as well as the mobile controls in your Unity project. This time, you will be configuring a 3D project, which is slightly different in terms of settings for the new input system. This video is the continuation of the 3D platformer tutorial series, which was paused in April this year.

The New Input System is very practical and you can implement it easily. In this video, you can add controls that are for moving your player in all directions and there is also a part that describes the mobile input. Other differences are in the script, it doesn't have the same script as 2D platformer, the key differences are in the implementation of the movement directions.

The first thing you need to do is to open Package Manager and install the Input System. Then you should make a system of Input Actions that will be powering your project with some specific controls. Next, you have to go to the PlayerMovement script and implement the InputSystem into the void Awake, which is called before void Start and Update.

The script used in this video describes what exactly is required for making the New Input System work properly. It's a very simple Unity tutorial that can be useful for beginners.

Make sure to add the Canvas element because it contains all important layouts and assets that allow you to add the UI elements in your project. The UI elements need to have an OnScreen Button action that is defined with arrow keys (movement) or spacebar (jumping). These buttons are for navigation on mobile devices. I will also make a video with Android remote display that will easily demonstrate the input system feature.

If you find this video helpful, consider subscribing. I will make videos every week. Lastly, I will make more game development tutorials and other content related to game industry. These videos will help beginner game developers become better and make amazing games.

Support the Creator of Kozmobot on the social networks!

Рекомендации по теме
Комментарии
Автор

Very informative video, can you teach how instead and f that right joystick can yiu add touch swipe ❤❤❤❤

muneebhero
Автор

I get to about 5:41 in the video and i press play and my character doesn't move at all how can i fix this or troubleshoot it . Also no error show up

qualaycalvin-rnlp
Автор

I followed every step, but I can't get "InputAction" to be recognized. I'm using Unity 2022.3.22f on Linux

semechko
Автор

Doesn't work, I can't go past the "InputSystem input;" part...

protophase
Автор

hey if i made a new input like shooting input and make function of it and then i add button wil it work?

Muneebdevelopment
Автор

Hi, I am facing a huge problem in my multiplayer game. Can you please help me? Everything is done except jump ui and Firing ui button.

onGoogle