-
Notifications
You must be signed in to change notification settings - Fork 7
client.controllers.Input.Input
Mahatma Kollu edited this page Oct 19, 2021
·
2 revisions
client/controllers/Input.Input
Manages the sending of input events from the client to the server through the Input server event.
OnInit
▸ onInit(): void
Calls createInputEvent on UserInputService.InputBegan and UserInputService.InputEnded
void
OnInit.onInit
src/client/controllers/Input.ts:14
▸ Static Private createInputEvent(event): void
takes either a UserInputService.InputBegan or InputEnded event and then connects it to a function which fires an event with an inputobject if the input was not processed by the game.
| Name | Type | Description |
|---|---|---|
event |
RBXScriptSignal<fn> |
UserInputService event (inputbegan/inputended) |
void
- client/controllers/SpringCam
- client/controllers/Direction
- client/controllers/Rotation
- client/controllers/Shake
- client/controllers/Input
- server/modules/InputParser
- server/modules/Middleware
- server/modules/AnimPlayer
- server/modules/Action
- server/modules/Defer