knightflo / Vortex

This is a game we make for a agile production assignment
0 stars 0 forks source link

New input system #6

Closed Bazzeman closed 6 months ago

Bazzeman commented 6 months ago
Bazzeman commented 6 months ago

New Input system

Movement Returns a Vector2 based on whether or not the specified keys in the input action have been pressed.

Aming Returns a Vector2 based on the movement of the mouse.

Refrence var userMovementInput = Manager.userInput.Player.Movement.ReadValue<Vector2>(); var userAimInput = Manager.userInput.Player.Aiming.ReadValue<Vector2>();