Method InitializeControllerDefaultsForAxis
InitializeControllerDefaultsForAxis(in AxisDescriptor, Controller)
Creates default controllers for an axis. Override this if the default axis controllers do not fit your axes.
Declaration
protected virtual void InitializeControllerDefaultsForAxis(in IInputAxisOwner.AxisDescriptor axis, InputAxisControllerBase<T>.Controller controller)
Parameters
Type | Name | Description |
---|---|---|
IInputAxisOwner.AxisDescriptor | axis | Description of the axis whose default controller needs to be set. |
InputAxisControllerBase<T>.Controller | controller | Controller to drive the axis. |