Method SetInputAxisProvider
SetInputAxisProvider(int, IInputAxisProvider)
Set an input provider for this axis. If an input provider is set, the provider will be queried when user input is needed, and the Input Axis Name field will be ignored. If no provider is set, then the legacy Input system will be queried, using the Input Axis Name.
Declaration
public void SetInputAxisProvider(int axis, AxisState.IInputAxisProvider provider)
Parameters
Type | Name | Description |
---|---|---|
int | axis | Which axis will be queried for input |
AxisState.IInputAxisProvider | provider | The input provider |