Function: addInputs()
addInputs(
world
):Entity
Defined in: input/utilities/add-inputs.ts:11
Adds an InputsComponent
to the world and initializes the input system.
Parameters
world
The world to which the inputs component will be added.
Returns
The entity that contains the InputsComponent
.