Unity use right stick to aim in 2D with new input system

  1. I am subscribing to the performed event with +=
  2. the => is not equal to or more than it is a quick way to run code in one line
  3. the => separates the input parameters in this case obj from the lambda body on the right
  4. This means that I am storing the value of the obj inside of the _move variable

--

--

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