Part 19.2: New Input Action System in Action [Basketball Shooting Game for Android Unity 2D]

Опубликовано: 06 Август 2026
на канале: Masteryst
1,548
1

Target of this series: Create Simple Basketball Shooting game for Android.

Unity Input Action Event Trigger Cheatsheet: https://docs.unity3d.com/Packages/com...

This is part of video series:    • Basketball Shooting Game for Android Unity 2D  

Patreon:   / masteryst  

Suggestion: Watch it in 2x speed. I'm learning speaking English, so... It's quite slow and it's better on 2x speed ( In my personal opinion ).

Chapter:
00:00 What you will learn
01:04 Create Project
01:17 Install New Input System Package
01:48 Link to Previous Video
01:51 Create Player & PlayerScript
02:17 Unity VSCode Problem & How to Fix it
03:45 Learn the Smallest Unit: InputAction
04:52 Input Action Properties
05:17 Action Type Button & Bind Spacebar for Jump Action
05:44 Bind Spacebar to Jump Action
06:29 Define the action after key pressed
08:03 Why it's not working?
08:09 Enable InputAction
09:15 InputAction on Release or KeyUp Button
09:35 UnityAction Canceled Event
10:02 Input Action Interaction: Press Only, Release Only, Press and Release
11:54 How do we know when started, performed, canceled is triggered
12:22 Inline function
13:51 Input Action Event Trigger CheatSheet
15:37 Input Action Value Direction Composite
17:06 How it works on device like joystick, dpad?
18:55 Input Action Map
21:04 Input Action Get Vector2 or Direction Value
22:11 Unity InputActionAsset
22:34 Create PlayerControlAsset
25:31 InputActionAsset as another C# Object Class
25:50 Generate C# Class from InputActionAsset
28:05 Retrieve Mouse Position using Unity InputAction
29:35 Why Our Newly Created InputAction not Detected on The Editor
30:17 Convert from Screen to World Position
33:16 What's next

Thank you for watching and thanks for your support.