PlayerControllerHelper Class |
Namespace: Rewired
public sealed class ControllerHelper
The PlayerControllerHelper type exposes the following members.
Name | Description | |
---|---|---|
![]() | Controllers |
Enumerates all controllers of all types assigned to this Player.
|
![]() | customControllerCount |
The number of Custom Controllers assigned to this Player.
|
![]() | CustomControllers |
Gets a list of Custom Controllers assigned to this Player.
|
![]() | excludeFromControllerAutoAssignment |
Determines whether controllers can be auto-assigned to this Player.
|
![]() | hasKeyboard |
Is the keyboard assigned to this Player?
|
![]() | hasMouse |
Is the mouse assigned to this Player?
|
![]() | joystickCount |
The number of joysticks assigned to this Player.
|
![]() | Joysticks |
A list of joysticks assigned to this Player.
|
![]() | Keyboard |
Gets the Keyboard.
|
![]() | Mouse |
Gets the Mouse.
|
Name | Description | |
---|---|---|
![]() | AddController(Controller, Boolean) | |
![]() | AddController(ControllerType, Int32, Boolean) | |
![]() | AddControllerT(Int32, Boolean) |
Assigns a controller to this Player.
|
![]() | AddLastActiveControllerChangedDelegate(PlayerActiveControllerChangedDelegate) |
Add a delegate to receive a callback every time the last active controller changes.
|
![]() | AddLastActiveControllerChangedDelegate(PlayerActiveControllerChangedDelegate, ControllerType) |
Add a delegate to receive a callback every time the last active controller of a specific type changes.
|
![]() | ClearAllControllers |
Unassign all controllers from this Player.
|
![]() | ClearControllersOfType(ControllerType) | |
![]() | ClearControllersOfTypeT |
Unassign all controllers of a specific type from this Player.
|
![]() | ClearLastActiveControllerChangedDelegates |
Remove all delegates to no longer receive any callbacks when the last active controller changes.
|
![]() | ContainsController(Controller) | |
![]() | ContainsController(ControllerType, Int32) | |
![]() | ContainsControllerT(Int32) |
Checks if a controller is assigned to this Player.
|
![]() | GetController(ControllerType, Int32) | |
![]() | GetControllerT(Int32) |
Gets a controller of the specified type assigned to this Player.
|
![]() | GetControllerTemplatesTInterface |
Gets a list of all Controller Templates in assigned Controllers that match the type.
|
![]() | GetControllerWithTag(ControllerType, String) | |
![]() | GetControllerWithTagT(String) |
Gets a controller of the specificed type with the specified tag assigned to this Player.
|
![]() | GetFirstControllerWithTemplate(Guid) |
Gets the first Controller of any type that implements the specified Controller Template.
|
![]() | GetFirstControllerWithTemplate(Type) |
Gets the first Controller of any type that implements the specified Controller Template.
|
![]() | GetFirstControllerWithTemplateT |
Gets the first Controller of any type that implements the specified Controller Template.
|
![]() | GetLastActiveController |
Get the last controller that contributed input through the Player.
|
![]() | GetLastActiveController(ControllerType) |
Get the last controller that contributed input through the Player.
|
![]() | GetLastActiveControllerT |
Get the last controller that contributed input through the Player.
|
![]() | RemoveController(Controller) | |
![]() | RemoveController(ControllerType, Int32) | |
![]() | RemoveControllerT(Int32) |
Unassigns a controller from this Player.
|
![]() | RemoveLastActiveControllerChangedDelegate(PlayerActiveControllerChangedDelegate) |
Remove a delegate to no longer receive callbacks when the last active controller changes.
|
![]() | RemoveLastActiveControllerChangedDelegate(PlayerActiveControllerChangedDelegate, ControllerType) |
Remove a delegate to no longer receive callbacks when the last active controller of a specific type changes.
|
Name | Description | |
---|---|---|
![]() | ControllerAddedEvent |
Event triggered when a controller is assigned to this Player.
|
![]() | ControllerRemovedEvent |
Event triggered when a controller is unassigned from this Player.
|
Name | Description | |
---|---|---|
![]() | conflictChecking | |
![]() | maps | |
![]() | polling |