ControllerGetTemplateT Method |
Gets the first Controller Template that implements the specified type.
Note that it is possible to have multiple Controller Templates that implement a specific type of interface
such as IControllerTemplate. You should use the most specific interface type possible such as IDualAnalogGamepadTemplate instead,
which would be guaranteed to only apply to a single Controller Template.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public T GetTemplate<T>()
where T : class
Type Parameters
- T
- Controller Template interface type
Return Value
Type:
TReturns the Controller Template if it exists in the Controller, null if it does not.
See Also