Unity InputManager for multiple controllers at once (basic)
load up the Input Setting (Project Settings>Input)
load in the InputManager.preset
the InputManager.cs doesn't need and object just put it in Script>InputManager folder and it's ready to use
the InputManager.cs doesn't need and object or to exist in the Hierachy just put it in Script>InputManager folder
recommend using xbox 360 or xbox one controller
returns a float base on X axis (Horizontal) or
left analog stick X axis
returns a float base on Y axis (Horizontal) or
left analog stick Y axis
returns a vector base on both Horizontal and Vertical
with a limit divition for when Horizontal + Vertical || Left Analog = 0/2/-2
Vector3(Horizontal, 0, Vertical)
returns bool value on both Horizontal an Vertical or
Left analog stick X/Y Axis (true if one of them is 0)
returns float base on MouseX(only controllerPort 1) or
right analog stick X Axis
returns float base on MouseY(only controllerPort 1) or
right analog stick Y Axis
SecondVertical(int controllerPort = 1)
returns a vector base on both MouseX and MouseY (controllerPort 2 only) or
right analog stick X/Y Axis
with a limit divition for when MouseX + MouseY || Right Analog = 0/2/-2
Vector3(Horizontal, 0, Vertical)
returns bool value on both MouseX an MouseY(controllerPort 1 only) or
Right analog stick X/Y Axis (true if one of them is 0)
returns float value base on Dpad X Axis
returns float value base on Dpad Y Axis
returns bool value base on
Button.UP/Button.DOWN/Button.HOLD
returns bool value base on
Button.UP/Button.DOWN/Button.HOLD
returns bool value base on
Button.UP/Button.DOWN/Button.HOLD
returns bool value base on
Button.UP/Button.DOWN/Button.HOLD
returns bool value base on
Button.UP/Button.DOWN/Button.HOLD
returns bool value base on
Button.UP/Button.DOWN/Button.HOLD
returns bool value base on
Button.UP/Button.DOWN/Button.HOLD
returns bool value base on
Button.UP/Button.DOWN/Button.HOLD
returns bool value base on
Button.UP/Button.DOWN/Button.HOLD
returns bool value base on
Button.UP/Button.DOWN/Button.HOLD
returns bool value base on
Left Trigger 9 Axis
returns bool value base on
Right Trigger 10 Axis
returns bool value base on
Trigger 3 Axis