PlayerControllerHelper Class |
Provides access to all controller-related members in Player.
Inheritance Hierarchy Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic sealed class ControllerHelper
The PlayerControllerHelper type exposes the following members.
Properties
Methods | 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.
|
Top
Events
Fields
See Also