0:00 – Intro: New Input System for Jump
0:22 – Why Not Old Input in Update
0:45 – Open/Create Project + Download Package
1:49 – Layout Setup + Remove Readme
1:58 – Import Unity Package + Open Scene
2:29 – Refactor Jump Code into OnJump()
3:38 – Create Input Actions Asset
4:07 – Action Map “Player” + Action “Jump”
4:46 – Bind Jump to Space (Listen) + Save
5:31 – Add Player Input Component
5:52 – Assign Actions + Set Behavior to Unity Events
6:20 – Fix Events Not Showing (Save/Deselect/Select)
6:38 – Connect Jump Event to OnJump()
7:07 – Test Jump (Too High)
7:18 – Add jumpForce + gravityModifier Variables
8:03 – Apply Gravity Modifier in Start
8:44 – Tune Gravity/Jump Values in Inspector
10:05 – Problem: Multi-Jump Exploit
10:33 – Add isOnGround Bool + Jump Restriction
12:34 – Use OnCollisionEnter() to Reset Ground State
13:31 – Physics Issue: Tilting While Jumping
13:43 – Fix with Rigidbody Constraints (Freeze X/Z + Rotations)
14:15 – Final Test + Wrap Up (Next: Obstacles)
Get free resources for this course from the below patreon link
/ 145923169
Unity New Input System Tutorial – Player Jump (Session 25)
In this session, we move away from the old Input.GetKeyDown() approach and start using Unity’s New Input System to control player actions more efficiently.
We implement a player jump mechanic using Input Actions, Player Input, and Unity Events, while also learning how to control jump force, gravity, and ground detection to prevent unwanted multiple jumps.
This session is part of the Junior Programmer Series, designed for beginners who want to build strong foundations in Unity game development.
🎯 What You’ll Learn in This Session
✔ Why the old input system affects performance
✔ How the Unity New Input System works
✔ Creating Input Actions and Action Maps
✔ Binding Spacebar for Jump using Input Actions
✔ Using Player Input with Unity Events
✔ Writing a custom OnJump() method
✔ Controlling jump force and gravity
✔ Preventing multiple jumps using ground collision
✔ Fixing player tilt using Rigidbody constraints
🛠 Tools & Concepts Used
Unity New Input System
Input Actions Asset
Player Input Component
Rigidbody Physics
Gravity Modifier
Collision Detection (OnCollisionEnter)
URP (Universal Render Pipeline)
📂 Project Setup
If you don’t have the previous project:
Create a new Unity 3D URP project
Download the Session 25 Jump Game Starter Package from Patreon
Import the package and open the provided scene
📌 Patreon link is available in the description below.
🔜 What’s Next?
In the next session, we will:
➡ Add obstacles / hurdles
➡ Introduce collision-based challenges
➡ Move closer to an endless runner-style game
👨🏫 Who This Is For
Absolute beginners in Unity
Students learning game programming
Anyone switching from the old input system
Developers building physics-based gameplay
👍 Support the Series
If this video helped you:
👍 Like the video
💬 Leave a comment
🔔 Subscribe for upcoming Unity sessions
Happy coding and see you in the next session 🚀
Nesta página do site você pode assistir ao vídeo on-line 25 Stop Using Input.GetKeyDown! Unity New Input System Jump Tutorial (Step-by-Step) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Sudheendra S G 30 Dezembro 2025, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 114 vezes e gostou 2 espectadores. Boa visualização!