Input System
Platform
Input Gameplay
Input UI
Input Asset
UI Action Map

Settings action bindings 
Back action bindings
Gameplay Action Map

Input Manager
Last updated



Last updated
public class InputManager : MonoBehaviour
{
///...
// This value shows the currently active input type (UIJoystick, Keyboard, Gamepad)
public InputType ActiveInput { get => save.ActiveInput; private set => save.ActiveInput = value; }
// This value is used for calculating movement of the player
public Vector2 MovementValue { get; private set; }
// This event fires every time the input type changes
// First parameter is the previous input type
// Second parameter is the new input type
public event UnityAction<InputType, InputType> onInputChanged;
//...
}
// Use GameController.InputManager to get Input Manager from anywhere from the project