Scripting Actions (New Unity Input System)

Richard Morgan
Aug 16, 2022

--

Here’s a script that adds the Bark Action Map to the PlayerInputActions delegate and registers the methods to call:

The script will notify the console when the space key has been pressed, and when it has been released:

--

--

Richard Morgan
Richard Morgan

Written by Richard Morgan

Unity developer interested in AI integrations.

No responses yet