Unity Input System: Action Maps

Player (pink) moves to Car and enters drives a bit and exits.
Car with trigger for entering vehicle.
Tires component setup.
Hierarchy for the Car.
Declare variables in PlayerInput script.
Assign variables and subscribe methods to _input events in PlayerInput script.
SwitchControls_performed method in PlayerInput script.
Detecting proxiomty to Car using OnTriggerEnter and Exit in PLayerInput script.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store