PlayerControllerHelperGetFirstControllerWithTemplateT Method |
Gets the first Controller of any type that implements the specified Controller Template.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntaxpublic Controller GetFirstControllerWithTemplate<T>()
where T : class
Type Parameters
- T
- Controller Template Type
Return Value
ControllerReturns the first Controller that implements the Controller Template or null if none were found.
See Also